aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-09 16:43:14 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-09 16:43:14 -0800
commit32c0afe5a988848b85a0a34419e8d06173adfcbf (patch)
treeb3b3ec78efda93119797b2884f943667165f3c7c /share
parente83441395e726a01abc8df95ac996d5b4bc2f364 (diff)
Clean up vared error message output
Fixes #1323
Diffstat (limited to 'share')
-rw-r--r--share/functions/vared.fish3
1 files changed, 1 insertions, 2 deletions
diff --git a/share/functions/vared.fish b/share/functions/vared.fish
index cc9912e7..bd2f1d42 100644
--- a/share/functions/vared.fish
+++ b/share/functions/vared.fish
@@ -37,8 +37,7 @@ function vared --description "Edit variable value"
end
end
else
-
- 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
+ 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
end
end
else