From 525a133f2f37a7f4d881bd86fc79522223cfd5a2 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Mon, 7 May 2001 09:25:05 +0000 Subject: double all backslashes before colons in the original pattern (14240) --- Completion/Unix/Type/_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') 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#*[^\\]:}%%:*}" -- cgit 1.4.1