summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
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"