diff options
| author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-18 07:18:57 +0000 |
|---|---|---|
| committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-18 07:18:57 +0000 |
| commit | 7594cc1872d276968d5b58d4cd4040790efe76ef (patch) | |
| tree | 2a65aab00dcbc8a61d7bf6a3c4d8e7cc2768c35b /Completion | |
| parent | Felix Rosencrantz: 11450: Replace `tr` with paramsubst. (diff) | |
| download | zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar.gz zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar.bz2 zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar.lz zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar.xz zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.tar.zst zsh-7594cc1872d276968d5b58d4cd4040790efe76ef.zip | |
make _files remove backslashes in patterns (11453)
Diffstat (limited to 'Completion')
| -rw-r--r-- | Completion/Core/_files | 2 |
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}:}" |
