summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Core/_files2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 54d4cfb0f..d518d1a87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-10  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 11292: Completion/Core/_files: update `%p' replacement in _files
+	
 2000-05-09  Bart Schaefer  <schaefer@brasslantern.com>
 
 	* 11288: Completion/Commands/_complete_help,
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