mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 04:43:10 +00:00
parent
ffebe74885
commit
6513db35c1
1 changed files with 5 additions and 0 deletions
|
@ -34,4 +34,9 @@ else if command ls -G / >/dev/null ^/dev/null
|
|||
function ls --description "List contents of directory"
|
||||
command ls -G $argv
|
||||
end
|
||||
else if command ls --color / >/dev/null 2>/dev/null
|
||||
# Solaris 11's ls command takes a --color flag
|
||||
function ls --description "List contents of directory"
|
||||
command ls --color $argv
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue