From 1c7075f8b921638d4a0d32358e63ae1648ac1b45 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 17 Feb 2010 11:16:13 +0000 Subject: Frank: 27717: option terminators in VCS Info --- Functions/VCS_Info/vcs_info_lastmsg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Functions/VCS_Info') diff --git a/Functions/VCS_Info/vcs_info_lastmsg b/Functions/VCS_Info/vcs_info_lastmsg index fe33590e1..ddfaaf88b 100644 --- a/Functions/VCS_Info/vcs_info_lastmsg +++ b/Functions/VCS_Info/vcs_info_lastmsg @@ -9,11 +9,11 @@ local -ix maxexports VCS_INFO_maxexports for i in {0..$((maxexports - 1))} ; do - printf '$vcs_info_msg_%d_: "' $i + printf -- '$vcs_info_msg_%d_: "' $i if zstyle -T ':vcs_info:formats:command:-all-' use-prompt-escapes ; then - print -nP ${(P)${:-vcs_info_msg_${i}_}} + print -nP -- ${(P)${:-vcs_info_msg_${i}_}} else - print -n ${(P)${:-vcs_info_msg_${i}_}} + print -n -- ${(P)${:-vcs_info_msg_${i}_}} fi printf '"\n' done -- cgit 1.4.1