summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_files b/Completion/Core/_files
index 5c03848bb..b1d06e23a 100644
--- a/Completion/Core/_files
+++ b/Completion/Core/_files
@@ -53,7 +53,7 @@ for def in "$pats[@]"; do
   for sdef in "$def[@]"; do
 
     tag="${${sdef#*[^\\]:}%%:*}"
-    pat="${${${sdef%%:${tag}*}//\\\\:/:}//,/ }"
+    pat="${${${sdef%%:${tag}*}//\\:/:}//,/ }"
 
     if [[ "$sdef" = *:${tag}:* ]]; then
       descr="${(Q)sdef#*:${tag}:}"