about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-29 20:00:38 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-29 20:00:38 +0000
commit76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc (patch)
tree3aae5f0ffb691adf74bdf3c670113ecd0b59904a
parent08ddb2593bf979e0d281ddde9f97aa3e77d90ea2 (diff)
downloadzsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.tar.gz
zsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.tar.xz
zsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.zip
Add comment.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Core/_path_files2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 07c8c6b0f..272383a29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-29  Bart Schaefer  <schaefer@zsh.org>
+
+	* unposted: Completion/Core/_path_files: Add a comment to explain
+	the change made in 11635.
+
 2000-05-29  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 11638: Doc/Zsh/compsys.yo: doc fix, missing `)'
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index a8567ab78..807172bbb 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -150,6 +150,8 @@ zstyle -s ":completion:${curcontext}:files" ignore-parents ignpar
 if [[ -n "$compstate[pattern_match]" &&
       ( ( -z "$SUFFIX" && "$PREFIX" = *\([^\|\~]##\) ) ||
         "$SUFFIX" =  *\([^\|\~]##\) ) ]]; then
+  # Copy all glob qualifiers from the line to
+  # the patterns used when generating matches
   if [[ "$SUFFIX" = *\([^\|\~]##\) ]]; then
     tmp3="${${(M)SUFFIX%\([^\|\~]##\)}[2,-2]}"
     SUFFIX="${SUFFIX%\($tmp3\)}"