mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user