mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix color ls detection for BSD and OS X systems. Patch by Sven Axelsson.
darcs-hash:20090201222410-ac50b-e1e02244ae950c602d3b7e67fe567920c619024b.gz
This commit is contained in:
parent
1123467991
commit
1dc49a4062
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if command ls --version 1>/dev/null 2>/dev/null
|
||||||
|
|
||||||
else
|
else
|
||||||
# BSD, OS X and a few more support colors through the -G switch instead
|
# 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"
|
function ls --description "List contents of directory"
|
||||||
command ls -G $argv
|
command ls -G $argv
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue