mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 14:52:46 +08:00
Avoid circular dependency in ls autoload. Second try.
darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz
This commit is contained in:
parent
c4acfdd87c
commit
7a884e11a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user