summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 1af8766..33146bf 100644
--- a/zshrc
+++ b/zshrc
@@ -10,6 +10,10 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh
+autoload -U add-zsh-hook
+on_cd() { exa -l --color=auto; }
+add-zsh-hook chpwd on_cd
+
alias vim="nvim"
alias emacs="TERM=xterm-256color emacs -nw"
alias apti="sudo apt-get install"