diff options
author | 2009-02-02 08:24:10 +1000 | |
---|---|---|
committer | 2009-02-02 08:24:10 +1000 | |
commit | 1dc49a40622fe5751d9283b3f4959204c3b89d9e (patch) | |
tree | 77cd86a42a7c0d6f183b2849013b340cbd8c19d4 /share/functions/ls.fish | |
parent | 112346799162ae2b06b724abc12e983557899dea (diff) |
Fix color ls detection for BSD and OS X systems. Patch by Sven Axelsson.
darcs-hash:20090201222410-ac50b-e1e02244ae950c602d3b7e67fe567920c619024b.gz
Diffstat (limited to 'share/functions/ls.fish')
-rw-r--r-- | share/functions/ls.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/ls.fish b/share/functions/ls.fish index f4cdb9a2..1db74622 100644 --- a/share/functions/ls.fish +++ b/share/functions/ls.fish @@ -20,7 +20,7 @@ if command ls --version 1>/dev/null 2>/dev/null else # BSD, OS X and a few more support colors through the -G switch instead - if command ls / -G 1>/dev/null 2>/dev/null + if command ls -G / 1>/dev/null 2>/dev/null function ls --description "List contents of directory" command ls -G $argv end |