* zsh 5.0.6 released
@ 2014-08-28 19:04 Peter Stephenson
2014-08-28 19:46 ` Peter Stephenson
0 siblings, 1 reply; 2+ messages in thread
From: Peter Stephenson @ 2014-08-28 19:04 UTC (permalink / raw)
To: Zsh Users
[A similar announcement went to zsh-announce, so you may get this
twice. That's been a bit unreliable for a long time so I'm sending it
here too. If you do eventually get the zsh-announce version --- the git
issue I mentioned there has gone.]
Version 5.0.6 of zsh has been uploaded to http://www.zsh.org/pub/ . It
has also appeared on Sourceforge, too: note the "latest file" link is
wrong as it points to the expanded documentation bundle. You can't win:
last time I uploaded the documentation last and it decided to point to
it, so this time I uploaded the documentation first and it decided to
point to it.
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
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 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] 2+ messages in thread
* Re: zsh 5.0.6 released
2014-08-28 19:04 zsh 5.0.6 released Peter Stephenson
@ 2014-08-28 19:46 ` Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2014-08-28 19:46 UTC (permalink / raw)
To: Zsh Users
On Thu, 28 Aug 2014 20:04:11 +0100
Peter Stephenson <p.w.stephenson@ntlworld.com> wrote:
> [A similar announcement went to zsh-announce, so you may get this
> twice. That's been a bit unreliable for a long time so I'm sending it
> here too. If you do eventually get the zsh-announce version --- the git
> issue I mentioned there has gone.]
You'll have that now, with bonus misspelling.
> Version 5.0.6 of zsh has been uploaded to http://www.zsh.org/pub/ . It
> has also appeared on Sourceforge, too: note the "latest file" link is
> wrong as it points to the expanded documentation bundle. You can't win:
> last time I uploaded the documentation last and it decided to point to
> it, so this time I uploaded the documentation first and it decided to
> point to it.
Finally fixed by uploading the source bundle enough times that it woke
up.
pws
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-28 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-28 19:04 zsh 5.0.6 released Peter Stephenson
2014-08-28 19:46 ` Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).