summary refs log tree commit diff
path: root/NEWS
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2014-08-08 18:48:30 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-08-08 18:48:30 -0700
commit349fe907cb57ade811cab1096a6171dcc78e561d (patch)
tree991b900b820b4955ee79726cdd42914c922f922e /NEWS
parent6fc3b67b80c5bef6b1241657f7d1e5f55f6af1bf (diff)
downloadzsh-349fe907cb57ade811cab1096a6171dcc78e561d.tar.gz
zsh-349fe907cb57ade811cab1096a6171dcc78e561d.tar.xz
zsh-349fe907cb57ade811cab1096a6171dcc78e561d.zip
mention 32971 in NEWS, clarify RPROMPT behavior in docs
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 87e67fd27..98dc0437a 100644
--- a/NEWS
+++ b/NEWS
@@ -65,6 +65,13 @@ The resulting glob is treated as a single argument.  For example,
 [[ -n *.c(#qN) ]] tests whether there are any .c files in the current
 directory.
 
+In prompt strings, the %N(l.true.false) conditional (line length) and
+the %N<..< and %N>..> truncation operators now accept negative values
+of N, which count the remaining space to the opposite margin (positive
+values of N still count the space used since the start of the prompt).
+In PS1 and PROMPT, this counts to the right margin, whereas in RPS1 and
+RPROMPT, it counts to the left margin (not to the opposite prompt).
+
 
 Changes between 4.2 and 5.0.0
 -----------------------------