about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/_path_files1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 611473316..2aabf988d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-08-03  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 12496: Completion/Core/_path_files: one more problem with
+ 	quoting of glob characters in filename completion
+	
 	* 12494: Doc/Zsh/options.yo, Src/Zle/zle_main.c: make binding of
  	^D be used in first column if ignoreeof is set and ^D is bound to
  	a shell function widget
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index 1e8059e4b..26d2be6f3 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -421,6 +421,7 @@ for prepath in "$prepaths[@]"; do
     # There are more components, so skip over the next components and make a
     # slash be added.
 
+    tmp1=( ${tmp1//(#b)([][()|*?^#~<>])/\\${match[1]}} )
     tmp2="${(M)tpre##((.|..|)/)##}"
     if [[ -n "$tmp2" ]]; then
       skipped="/$tmp2"