aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-10 09:11:55 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-10 09:11:55 +1000
commit7a884e11a6b350b99d55f938f57cd63738d3c6ef (patch)
tree3a13814de38a6440f179572d0e3e677b13ea22c0 /share
parentc4acfdd87c62afe38f4b69d49df2f5269e3e9508 (diff)
Avoid circular dependency in ls autoload. Second try.
darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz
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