2024-03-11 21:59:50 +01:00
|
|
|
# Lines configured by zsh-newuser-install
|
|
|
|
HISTFILE=~/.histfile
|
|
|
|
HISTSIZE=1000
|
|
|
|
SAVEHIST=1000
|
|
|
|
setopt autocd
|
|
|
|
bindkey -v
|
|
|
|
# End of lines configured by zsh-newuser-install
|
|
|
|
# The following lines were added by compinstall
|
|
|
|
zstyle :compinstall filename '/home/svante/.zshrc'
|
|
|
|
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit
|
|
|
|
# End of lines added by compinstall
|
|
|
|
|
|
|
|
export TERM="xterm"
|
|
|
|
|
|
|
|
# Shorthands
|
|
|
|
alias l='ls -l'
|
|
|
|
alias la='ls -a'
|
|
|
|
alias ll='ls -la'
|
|
|
|
alias v='vim'
|
|
|
|
alias c='clear'
|
|
|
|
alias e='exit'
|
|
|
|
|
|
|
|
# Defaults
|
|
|
|
alias vim='nvim'
|
|
|
|
alias nix-shell='nix-shell --run zsh'
|
|
|
|
|
|
|
|
autoload -U colors && colors
|
|
|
|
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
|
|
|
|
2024-03-26 17:01:59 +01:00
|
|
|
eval "$(direnv hook zsh)"
|
|
|
|
|