summaryrefslogtreecommitdiffstats
path: root/zshrc
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2021-01-20 23:30:39 +0100
committersalad <fmoenne-@student.le-101.fr>2021-01-20 23:30:39 +0100
commit117df12d3b6c69657f82a69264478c3dde9f6176 (patch)
treec00609e16a67cf0b73d74cec2a1dbd4952fc7e34 /zshrc
parentMerge branch 'master' of https://github.com/salaaad2/dotfiles (diff)
downloaddotfiles-117df12d3b6c69657f82a69264478c3dde9f6176.tar.gz
dotfiles-117df12d3b6c69657f82a69264478c3dde9f6176.tar.bz2
dotfiles-117df12d3b6c69657f82a69264478c3dde9f6176.tar.xz
dotfiles-117df12d3b6c69657f82a69264478c3dde9f6176.tar.zst
dotfiles-117df12d3b6c69657f82a69264478c3dde9f6176.zip
addautols
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"