mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
vared function used older uppercase names for fish colors
darcs-hash:20051025134851-ac50b-f21b7c3e876f98b39f1d2382e2919d77c38bfdb4.gz
This commit is contained in:
@@ -288,18 +288,18 @@ function vared -d "Edit variable value"
|
||||
else
|
||||
|
||||
printf "vared: %s is an array variable. Use " $argv
|
||||
set_color $FISH_COLOR_COMMAND
|
||||
set_color $fish_color_command
|
||||
printf vared
|
||||
set_color $FISH_COLOR_NORMAL
|
||||
set_color $fish_color_normal
|
||||
printf " %s[n] to edit the n:th element of %s\n" $argv $argv
|
||||
|
||||
end
|
||||
end
|
||||
else
|
||||
printf "vared: Expected exactly one argument, got %s.\n\nSynopsis:\n\t" (count $argv)
|
||||
set_color $FISH_COLOR_COMMAND
|
||||
set_color $fish_color_command
|
||||
printf vared
|
||||
set_color $FISH_COLOR_NORMAL
|
||||
set_color $fish_color_normal
|
||||
printf " VARIABLE\n"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user