1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-06-06 07:16:04 +02:00

unposted: more NEWS

users/12870: document that modifiers in glob qualifiers activate
global globbing behaviour
This commit is contained in:
Peter Stephenson 2008-05-27 10:26:55 +00:00
parent ddb336e6f7
commit c467938310
3 changed files with 28 additions and 9 deletions

View File

@ -1,3 +1,10 @@
2008-05-27 Peter Stephenson <pws@csr.com>
* users/12870: Doc/Zsh/expn.yo: modifiers in glob qualifiers
activate global globbing behaviour.
* unposted: NEWS: note prompt colour, accept-exact-dirs.
2008-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better

View File

@ -2176,12 +2176,13 @@ in brackets (`tt([...])').
If a `tt(:)' appears in a qualifier list, the remainder of the expression in
parenthesis is interpreted as a modifier (see noderef(Modifiers)
in noderef(History Expansion)). Note that
each modifier must be introduced by a separate `tt(:)'. Note also that the
result after modification does not have to be an existing file. The
name of any existing file can be followed by a modifier of the form
`tt((:..))' even if no actual filename generation is performed.
Thus:
in noderef(History Expansion)). Each modifier must be introduced by a
separate `tt(:)'. Note also that the result after modification does not
have to be an existing file. The name of any existing file can be followed
by a modifier of the form `tt((:..))' even if no actual filename generation
is performed, although note that the presence of the parentheses
causes the entire expression to be subjected to any global pattern matching
options such as tt(NULL_GLOB). Thus:
example(ls *(-/))

17
NEWS
View File

@ -22,9 +22,20 @@ history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward. These are not bound to
keys by default.
Highlighting of sections of the command line is now supported, controlled
by the array parameter zle_highlight and the ZLE special parameter
REGION_HIGHLIGHT.
Highlighting and colouring of sections of the command line is now
supported, controlled by the array parameter zle_highlight and the ZLE
special parameter REGION_HIGHLIGHT.
Colouring of prompts is now supported within the shell by prompt
escapes. The prompt theme system has been updated.
The completion style accept-exact-dirs has been added. When true, this
suppresses attempts to complete non-final directory segments of a filename
path when the directory exists. (For example, /home/pws/src/zsh/<TAB>
discovers that /home/pws/src/zsh exists and leaves the directory component
alone, while /h/p/s/z/<TAB> completes to /home/pws/src/zsh/... as before.)
This should improve completion behaviour noticeably in special cases, such
as remote paths under Cygwin.
Major changes between versions 4.3.5 and 4.3.6
----------------------------------------------