Use short style switch on set_color, since long style getopt not always available

darcs-hash:20051125144406-ac50b-ca222e2fb3f2396489fb5eca64f2eff32b654404.gz
This commit is contained in:
axel 2005-11-26 00:44:06 +10:00
parent 4a2bdeebef
commit 680c0aff05

View file

@ -58,7 +58,7 @@ function set_default_color -d "Set an universal variable, unless it has already
set -U -- $argv
return
end
if contains -- $$argv[1] (set_color --print-colors)
if contains -- $$argv[1] (set_color -c)
return
end
set -U -- $argv