Clean up vared error message output

Fixes #1323
This commit is contained in:
ridiculousfish 2014-11-09 16:43:14 -08:00
parent e83441395e
commit 32c0afe5a9

View file

@ -37,8 +37,7 @@ function vared --description "Edit variable value"
end end
end end
else else
printf (_ '%s: %s is an array variable. Use %svared%s %s[n]%s to edit the n:th element of %s\n') vared $argv (set_color $fish_color_command; echo) (set_color $fish_color_normal; echo) $argv (set_color reset; echo) $argv
printf (_ '%s: %s is an array variable. Use %svared%s %s[n] to edit the n:th element of %s\n') vared $argv (set_color $fish_color_command; echo) (set_color $fish_color_normal; echo) $argv $argv
end end
end end
else else