summaryrefslogtreecommitdiffstats
path: root/Completion/Unix
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-07 09:25:05 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-05-07 09:25:05 +0000
commit525a133f2f37a7f4d881bd86fc79522223cfd5a2 (patch)
treeb1a53d2a29e676773fe5280f85aeef68196a757b /Completion/Unix
parent14234 and 14235. (diff)
downloadzsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar.gz
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar.bz2
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar.lz
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar.xz
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.tar.zst
zsh-525a133f2f37a7f4d881bd86fc79522223cfd5a2.zip
double all backslashes before colons in the original pattern (14240)
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_files b/Completion/Unix/Type/_files
index 1385bfc97..a291ee786 100644
--- a/Completion/Unix/Type/_files
+++ b/Completion/Unix/Type/_files
@@ -52,7 +52,7 @@ fi
tried=()
for def in "$pats[@]"; do
- eval "def=( ${${def:s/\\:/\\\\\\\\\\\\:}//(#b)([][()|*?^#~<>])/\\${match[1]}} )"
+ eval "def=( ${${def:gs/\\:/\\\\\\\\\\\\:}//(#b)([][()|*?^#~<>])/\\${match[1]}} )"
for sdef in "$def[@]"; do
tag="${${sdef#*[^\\]:}%%:*}"