From 32c0afe5a988848b85a0a34419e8d06173adfcbf Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 9 Nov 2014 16:43:14 -0800 Subject: [PATCH] Clean up vared error message output Fixes #1323 --- share/functions/vared.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/functions/vared.fish b/share/functions/vared.fish index cc9912e79..bd2f1d428 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