about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-07 08:57:33 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-09 15:24:05 +0000
commite007cd9f8853a69a2e313e65a1d04d4e05120243 (patch)
tree5dd69a266d17712062c37d01c5743c82dc5efac4 /README
parentecd88284f358cbcd787757184bbf8704779cab1a (diff)
downloadzsh-e007cd9f8853a69a2e313e65a1d04d4e05120243.tar.gz
zsh-e007cd9f8853a69a2e313e65a1d04d4e05120243.tar.xz
zsh-e007cd9f8853a69a2e313e65a1d04d4e05120243.zip
40510: vcs_info: Update the $psvar episode with '%'-unescaping. (Follow-up to 40492.)
Diffstat (limited to 'README')
-rw-r--r--README3
1 files changed, 3 insertions, 0 deletions
diff --git a/README b/README
index 594b6f1cd..432a35e76 100644
--- a/README
+++ b/README
@@ -69,8 +69,11 @@ patch-format string, to prevent literal `%' signs in the interpolated
 value from being interpreted as prompt escape sequences.  If you use
 ${vcs_info_msg_0_} in a context other than the shell prompt, you may need
 to undo the escaping with:
+
     print -v vcs_info_msg_0_ -Pr -- "${vcs_info_msg_0_}"
 
+This is also needed if $vcs_info_msg_0_ is used to set $psvar.
+
 Incompatibilities between 5.0.8 and 5.3
 ----------------------------------------