aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/functions/ls.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/ls.fish b/share/functions/ls.fish
index ae23db1d..e03b33dd 100644
--- a/share/functions/ls.fish
+++ b/share/functions/ls.fish
@@ -50,7 +50,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 ls / -G 1>/dev/null 2>/dev/null
+ if command ls / -G 1>/dev/null 2>/dev/null
function ls -d (N_ "List contents of directory")
command ls -G $argv
end