about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-03 11:12:30 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-08-03 11:12:30 +0000
commit7bf1f0292dec271281e82b0aa5a7908307a5e929 (patch)
tree25509298473a8f8254d909b09ed4ca037bfb60a1 /Completion
parenta23d39ce3801c00d686d3ea5c63f0b16545cda30 (diff)
downloadzsh-7bf1f0292dec271281e82b0aa5a7908307a5e929.tar.gz
zsh-7bf1f0292dec271281e82b0aa5a7908307a5e929.tar.xz
zsh-7bf1f0292dec271281e82b0aa5a7908307a5e929.zip
one more problem with quoting of glob characters in filename completion (12496)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_path_files1
1 files changed, 1 insertions, 0 deletions
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"