diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-17 11:16:13 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-17 11:16:13 +0000 |
| commit | 1c7075f8b921638d4a0d32358e63ae1648ac1b45 (patch) | |
| tree | 8451be6831b517ff5af9b7d770fae44e17083812 /Functions/VCS_Info/vcs_info_lastmsg | |
| parent | fix typo in compsys.yo (diff) | |
| download | zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar.gz zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar.bz2 zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar.lz zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar.xz zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.tar.zst zsh-1c7075f8b921638d4a0d32358e63ae1648ac1b45.zip | |
Frank: 27717: option terminators in VCS Info
Diffstat (limited to 'Functions/VCS_Info/vcs_info_lastmsg')
| -rw-r--r-- | Functions/VCS_Info/vcs_info_lastmsg | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
