summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-05 19:26:58 +0200
committerAlan Pearce2019-10-05 19:26:58 +0200
commit53c87f6c76c88b58ac2868828f578c633e318610 (patch)
treeb88c594f6e10dcb8036fc9ce4f1ad186ee5bab1f
parent8b106c3ec4e4472cef79bc4f3206b15d9b730f5f (diff)
downloadnixfiles-53c87f6c76c88b58ac2868828f578c633e318610.tar.lz
nixfiles-53c87f6c76c88b58ac2868828f578c633e318610.tar.zst
nixfiles-53c87f6c76c88b58ac2868828f578c633e318610.zip
zsh: remove ls wrapper
No longer required since removal of support for GNU ls on darwin
-rw-r--r--user/zsh/.config/zsh/.zshrc11
1 files changed, 5 insertions, 6 deletions
diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc
index 085f47b3..e8e512a1 100644
--- a/user/zsh/.config/zsh/.zshrc
+++ b/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 @@ case $os in
     ;;
 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"