From 76868bdc6a9d9aaffb280f8206bdeebd1d2f14fc Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Mon, 29 May 2000 20:00:38 +0000 Subject: [PATCH] Add comment. --- ChangeLog | 5 +++++ Completion/Core/_path_files | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 07c8c6b0f..272383a29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-29 Bart Schaefer + + * unposted: Completion/Core/_path_files: Add a comment to explain + the change made in 11635. + 2000-05-29 Sven Wischnowsky * 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\)}"