diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Core/_path_files | 2 |
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\)}" |