about summary refs log tree commit diff
path: root/Completion/Core
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 /Completion/Core
parent08ddb2593bf979e0d281ddde9f97aa3e77d90ea2 (diff)
downloadzsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.tar.gz
zsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.tar.xz
zsh-76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc.zip
Add comment.
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files2
1 files changed, 2 insertions, 0 deletions
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\)}"