mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user