From 7a884e11a6b350b99d55f938f57cd63738d3c6ef Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 10 Aug 2006 09:11:55 +1000 Subject: Avoid circular dependency in ls autoload. Second try. darcs-hash:20060809231155-ac50b-52b1b1609307fb05d3d8f32c972b0a22476a1da8.gz --- share/functions/ls.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.2.3