From d765f94981085df14b68d1bbe666e3163832a3e4 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 12 Apr 2021 11:42:50 -0400 Subject: [PATCH] zsh: change default ls behavior to -l --- config.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.2