summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS20
1 files changed, 20 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e4d747e01..c5e226a24 100644
--- a/NEWS
+++ b/NEWS
@@ -58,6 +58,26 @@ between the right hand side of the screen (this causes problems with
some terminals). It is not special and is not set by default; the
effect in that case is as if it was 1, as in previous versions.
+If the option EXTENDED_GLOB is in effect, it is possible to force
+globbing within conditional code using the [[ ... ]] syntax by flagging
+that a certain string is a glob using the (#q) glob qualifier syntax.
+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).
+
+Another new prompt feature is the %. escape within time strings, for
+example %D{%H:%M:%S.%.}. It provides zero-padded decimal fractions of
+second; by default milliseconds are shown, but the number of digits may
+be indicated from 1 to 6, e.g. "%6.". (Note this is part of the
+extensions to strftime() formats rather of basic prompt escapes.)
+
Changes between 4.2 and 5.0.0
-----------------------------