1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

Add comment.

This commit is contained in:
Bart Schaefer 2000-05-29 20:00:38 +00:00
parent 08ddb2593b
commit 76868bdc6a
2 changed files with 7 additions and 0 deletions

@ -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 `)'

@ -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\)}"