diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-10 08:00:05 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-10 08:00:05 +0000 |
commit | aa4a931544e21719ff9bc33c4f1fcef79eb31210 (patch) | |
tree | 5a5a010765c0823529a38de6877e2dae9be005c1 /Completion/Core | |
parent | 78e327861c7c593a704f7a541cb0e858513ee60e (diff) | |
download | zsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.tar.gz zsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.tar.xz zsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.zip |
update `%p' replacement in _files (11292)
Diffstat (limited to 'Completion/Core')
-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 777d09f44..1ba564bf6 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -26,7 +26,7 @@ fi if zstyle -a ":completion:${curcontext}:" file-patterns tmp; then [[ "$type" = */* ]] && glob="$glob,*(-/)" pats=() - for i in ${tmp//\\%p/${${glob:-\*}//:/\\:} }; do + for i in ${tmp//%p/${${glob:-\*}//:/\\:} }; do if [[ $i = *[^\\]:* ]]; then pats=( "$pats[@]" " $i " ) else |