summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-08-05 00:46:44 +0000
committerClint Adams <clint@users.sourceforge.net>2009-08-05 00:46:44 +0000
commita0b5ea6ffe482e1d4d8642eda4ffaf51d140fe9d (patch)
treec10d09559f68ab79f4116340de1a623706348b85
parent4a2b5b9137d0996c0c68dcc1b8d63db8be2ade37 (diff)
downloadzsh-a0b5ea6ffe482e1d4d8642eda4ffaf51d140fe9d.tar.gz
zsh-a0b5ea6ffe482e1d4d8642eda4ffaf51d140fe9d.tar.xz
zsh-a0b5ea6ffe482e1d4d8642eda4ffaf51d140fe9d.zip
27209: fix breakage from 27208.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_path_files2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 111d5fb46..1e69c9461 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
 *****************************************************
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index ab6684da8..8bc9373a1 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -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