]> git.armaanb.net Git - config.org.git/commitdiff
zsh: change default ls behavior to -l
authorArmaan Bhojwani <me@armaanb.net>
Mon, 12 Apr 2021 15:42:50 +0000 (11:42 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 12 Apr 2021 15:42:50 +0000 (11:42 -0400)
config.org

index d0f910591ed6d7864ccf78481cc737a10a629ad1..0148a0a895fb1bd69bf4e1077d7993521984f913 100644 (file)
@@ -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
   }