help / color / mirror / code / Atom feed
* Zsh 5.0.6 releasd
@ 2014-08-28 18:53 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2014-08-28 18:53 UTC (permalink / raw)
  To: Zsh Announcement List

Version 5.0.6 of zsh has been uploaded to http://www.zsh.org/pub/ .  It
will shortly be uploaded to Sourceforge, too.

Git users should note that owing to a problem at the Sourceforge
repository I haven't yet been able to push the version number change and
the tag, however the change is entirely predictable.

Thanks to all the contributors.

Here's a chunk from the NEWS file.

- 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
- 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 than basic prompt escapes.)
- The operators :^ and :^^ in parameter substitution allow for array
  zipping in the form ${name:^array}. With the :^ operator, all entries
  in $name and $array will be output in alternating order. With :^ the
  longer array is trimmed whereas the :^^ operator repeats the shorter
  array enough to match the longer array.

- The value of $? when a job becomes stopped is now the signal number plus
  128, for compatibility with other shells.  Note that different operating
  systems use different values e.g. for SIGTSTP, so it is not possible in
  portable scripts to detect stopped jobs by comparing to a fixed number.
  Also, the value of $pipestatus is now updated when a job stops, not just
  when it exits.

Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-08-28 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 18:53 Zsh 5.0.6 releasd Peter Stephenson

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).