zsh: remove ls wrapper No longer required since removal of support for GNU ls on darwin
Alan Pearce alan@alanpearce.eu
Sat, 05 Oct 2019 19:26:58 +0200
1 files changed, 5 insertions(+), 6 deletions(-)
jump to
M user/zsh/.config/zsh/.zshrc → user/zsh/.config/zsh/.zshrc
@@ -8,7 +8,6 @@ WORDCHARS=${${WORDCHARS//[-.=]}//[\/]} alias ec=emacsclient -ls='\ls' gnu_ls_options="-v --group-directories-first" gnu_ls_isodate="--time-style=long-iso" bsd_ls_options="-p" @@ -28,11 +27,11 @@ ls_isodate=$gnu_ls_isodate ;; esac alias watch="watch " # enable watch with aliases -alias l="${ls} ${ls_options} -Bp" -alias l1="${ls} ${ls_options} -1" -alias ls="${ls} ${ls_options} -hF" -alias la="${ls} ${ls_options} -hA" -alias ll="${ls} ${ls_options} ${ls_isodate} -hl" +alias l="ls ${ls_options} -Bp" +alias l1="ls ${ls_options} -1" +alias ls="ls ${ls_options} -hF" +alias la="ls ${ls_options} -hA" +alias ll="ls ${ls_options} ${ls_isodate} -hl" alias lal="ll -A" alias lla="lal" alias llr="ll -t"