all repos — nixfiles @ 53c87f6c76c88b58ac2868828f578c633e318610

System and user configuration, managed by nix and home-manager

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
commit

53c87f6c76c88b58ac2868828f578c633e318610

parent

8b106c3ec4e4472cef79bc4f3206b15d9b730f5f

1 files changed, 5 insertions(+), 6 deletions(-)

jump to
M user/zsh/.config/zsh/.zshrcuser/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"