Avoid circular dependency in ls autoload. Second try.

darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz
This commit is contained in:
axel 2006-08-10 09:11:55 +10:00
parent c4acfdd87c
commit 7a884e11a6

View file

@ -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