Opened 8 years ago

Closed 8 years ago

#7204 closed enhancement (fixed)

zsh-5.2 and zsh-5.2-doc

Reported by: Fernando de Oliveira Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.9
Component: BOOK Version: SVN
Severity: normal Keywords:


Past versions can be found at

afe96fde08b70e23c1cab1ca7a68fb34  zsh-5.2.tar.xz
873f1ade1fa5d0d15f9cba16d3ba5f98  zsh-5.2-doc.tar.xz

zsh 5.2 released

    X-seq: zsh-users 21025
    From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
    To: Zsh Users <zsh-users@xxxxxxx>
    Subject: zsh 5.2 released
    Date: Wed, 2 Dec 2015 19:32:15 +0000

Version 5.2 of zsh has been released and is available at with uploads to Sourceforge to follow.

This has a lot of bug fixes and fewer minro [minor] feature additions.
See the README file.

As before, there are .gz and .xz compressed versions.  In addition,
all tar files have detached gpg signatures in .asc files signed with the key

pub   2048R/4BDB27B3 2015-11-25
      Key fingerprint = F7B2 754C 7DE2 8309 1466  1F0E A71D 9A9D 4BDB 27B3
uid                  Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
sub   2048R/4C58D718 2015-11-25

Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at

Pub key can be found at


This is version 5.2 of the shell.  This is a stable release.  There are
a few visible improvements since 5.1.1 as well as many bugfixes.  Note
in particular the changs [changes] highlighted under "Incompatibilites
[Incompatibilities] between 5.1 and 5.2" below.  See NEWS for more

Incompatibilities between 5.1 and 5.2

The behaviour of the parameter flag (P) has changed when it appears
in a nested parameter group, in order to make it more useful in
such cases.  A (P) in the outermost parameter group behaves as
before.  See NEWS for more.


Note also the list of incompatibilities in the README file.

Changes from 5.1.1 to 5.2

The new module zsh/param/private can be loaded to allow the shell
to define parameters that are private to a function scope (i.e. are
not propagated to nested functions called within this function).

The parameter flag ${(P)...} is now more useful when it appears in
a nested expansion.  For example,

  typeset -A assoc=(one un two deux three trois)
  print ${${(P)name}[one]}

now prints "un".  In previous versions of the shell the value of the
substitution was fully expanded on return from ${(P)name}, making
associative array subscripting difficult.  As a side effect, flags
for formatting appearing in the inner substitution now affect the
substitution of the name (into "assoc" in this case), which is not
normally useful: flags that should apply to the value must be in the
outer substitution.

The GLOB_STAR_SHORT option allows the pattern **/* to be shortened to
just ** if no / follows. so **.c searches recursively for a file whose
name has the suffix ".c".

The effect of the WARN_CREATE_GLOBAL option has been significantly
extended, so expect it to cause additional warning messages about
parameters created globally within function scope.

Change History (2)

comment:1 by Fernando de Oliveira, 8 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

comment:2 by Fernando de Oliveira, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r16706.

Note: See TracTickets for help on using tickets.