mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
27209: fix breakage from 27208.
This commit is contained in:
parent
4a2b5b9137
commit
a0b5ea6ffe
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
|||
2009-08-05 Clint Adams <clint@zsh.org>
|
||||
|
||||
* 27209: Completion/Unix/Type_path_files: fix breakage from
|
||||
27208.
|
||||
|
||||
* Mikael Magnusson: 27204: Completion/Unix/Command/_patch:
|
||||
remove stray curly brace.
|
||||
|
||||
|
@ -12056,5 +12059,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.4755 $
|
||||
* $Revision: 1.4756 $
|
||||
*****************************************************
|
||||
|
|
|
@ -160,7 +160,7 @@ if zstyle -s ":completion:${curcontext}:" file-sort tmp1; then
|
|||
if _have_glob_qual "$tmp1" complete; then
|
||||
# unbalanced parenthesis is correct: match[1] contains the start,
|
||||
# match[5] doesn't contain the end.
|
||||
tmp2+=( "${match[1]}${match[5]})(${sort})" )
|
||||
tmp2+=( "${match[1]}#q${sort})(${match[5]})" )
|
||||
else
|
||||
tmp2+=( "${tmp1}(${sort})" )
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue