mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 23:47:25 +00: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:
parent
4a2bdeebef
commit
680c0aff05
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue