about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-10 08:00:05 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-10 08:00:05 +0000
commitaa4a931544e21719ff9bc33c4f1fcef79eb31210 (patch)
tree5a5a010765c0823529a38de6877e2dae9be005c1 /Completion
parent78e327861c7c593a704f7a541cb0e858513ee60e (diff)
downloadzsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.tar.gz
zsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.tar.xz
zsh-aa4a931544e21719ff9bc33c4f1fcef79eb31210.zip
update `%p' replacement in _files (11292)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/_files2
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