From c4679383109f8e4f93c13b1eb30d352503b943e0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 27 May 2008 10:26:55 +0000 Subject: unposted: more NEWS users/12870: document that modifiers in glob qualifiers activate global globbing behaviour --- ChangeLog | 7 +++++++ Doc/Zsh/expn.yo | 13 +++++++------ NEWS | 17 ++++++++++++++--- 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index a941d50d6..0ed993449 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-27 Peter Stephenson + + * 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 * 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 3d4c92d4a..aa7018798 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -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 *(-/)) diff --git a/NEWS b/NEWS index df8b52884..01b44bc12 100644 --- a/NEWS +++ b/NEWS @@ -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/ +discovers that /home/pws/src/zsh exists and leaves the directory component +alone, while /h/p/s/z/ 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 ---------------------------------------------- -- cgit 1.4.1