summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-10-05 19:10:37 +0200
committerAlan Pearce2019-10-05 19:10:37 +0200
commit5a2d7e4085b0461ff38abd9366ff56e00c0bfc42 (patch)
tree24b33fbddee3efd705d2c69b58b40c4a28dbb95f
parent5d004b393c7a497d0da0599f7f4ddb29b721c512 (diff)
downloadnixfiles-5a2d7e4085b0461ff38abd9366ff56e00c0bfc42.tar.lz
nixfiles-5a2d7e4085b0461ff38abd9366ff56e00c0bfc42.tar.zst
nixfiles-5a2d7e4085b0461ff38abd9366ff56e00c0bfc42.zip
Remove support for GNU ls on darwin
-rw-r--r--user/zsh/.config/zsh/.zshrc11
1 files changed, 2 insertions, 9 deletions
diff --git a/user/zsh/.config/zsh/.zshrc b/user/zsh/.config/zsh/.zshrc
index 9d7ef9f7..d1d37cba 100644
--- a/user/zsh/.config/zsh/.zshrc
+++ b/user/zsh/.config/zsh/.zshrc
@@ -16,15 +16,8 @@ bsd_ls_isodate="-D '%F %k:%M'"
 
 case $os in
   darwin)
-    if [[ -n $commands[gls] ]]
-    then
-      ls='\gls'
-      ls_options=$gnu_ls_options
-      ls_isodate=$gnu_ls_isodate
-    else
-      export CLICOLOR=1
-      ls_options=$bsd_ls_options
-    fi
+    export CLICOLOR=1
+    ls_options=$bsd_ls_options
     ;;
   freebsd)
     ls_options=$bsd_ls_options