diff options
Diffstat (limited to 'init/functions/ls.fish')
-rw-r--r-- | init/functions/ls.fish | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/init/functions/ls.fish b/init/functions/ls.fish deleted file mode 100644 index aa20f219..00000000 --- a/init/functions/ls.fish +++ /dev/null @@ -1,18 +0,0 @@ -# -# Make ls use colors if we are on a system that supports this -# - -if ls --version 1>/dev/null 2>/dev/null - # This is GNU ls - function ls -d (_ "List contents of directory") - command ls --color=auto --indicator-style=classify $argv - end -else - # BSD, OS X and a few more support colors through the -G switch instead - if ls / -G 1>/dev/null 2>/dev/null - function ls -d (_ "List contents of directory") - command ls -G $argv - end - end -end - |