diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Doc/Zsh/expn.yo | 13 | ||||
-rw-r--r-- | 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 <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 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/<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 ---------------------------------------------- |