From: Armaan Bhojwani Date: Mon, 12 Apr 2021 15:42:50 +0000 (-0400) Subject: zsh: change default ls behavior to -l X-Git-Url: https://git.armaanb.net/?p=config.org.git;a=commitdiff_plain;h=d765f94981085df14b68d1bbe666e3163832a3e4 zsh: change default ls behavior to -l --- diff --git a/config.org b/config.org index d0f9105..0148a0a 100644 --- a/config.org +++ b/config.org @@ -970,7 +970,7 @@ I manage plugins using my own plugin manager, ZPE. https://git.sr.ht/~armaan/zpe #+begin_src shell :tangle ~/.config/zsh/zshrc chpwd() { emulate -L zsh - exa -h --icons --git --group-directories-first + exa -lh --icons --git --group-directories-first } #+end_src **** Change default enter behavior @@ -980,7 +980,7 @@ If no command given, =ls=, if in a Git repo, =git status= as well. zle accept-line if [ ${#${(z)BUFFER}} -eq 0 ]; then echo - exa -h --icons --git --group-directories-first + exa -lh --icons --git --group-directories-first [ -d ".git" ] && git status fi }