mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-07 23:51:14 +02:00
Add comment.
This commit is contained in:
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>
|
2000-05-29 Sven Wischnowsky <wischnow@zsh.org>
|
||||||
|
|
||||||
* 11638: Doc/Zsh/compsys.yo: doc fix, missing `)'
|
* 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]" &&
|
if [[ -n "$compstate[pattern_match]" &&
|
||||||
( ( -z "$SUFFIX" && "$PREFIX" = *\([^\|\~]##\) ) ||
|
( ( -z "$SUFFIX" && "$PREFIX" = *\([^\|\~]##\) ) ||
|
||||||
"$SUFFIX" = *\([^\|\~]##\) ) ]]; then
|
"$SUFFIX" = *\([^\|\~]##\) ) ]]; then
|
||||||
|
# Copy all glob qualifiers from the line to
|
||||||
|
# the patterns used when generating matches
|
||||||
if [[ "$SUFFIX" = *\([^\|\~]##\) ]]; then
|
if [[ "$SUFFIX" = *\([^\|\~]##\) ]]; then
|
||||||
tmp3="${${(M)SUFFIX%\([^\|\~]##\)}[2,-2]}"
|
tmp3="${${(M)SUFFIX%\([^\|\~]##\)}[2,-2]}"
|
||||||
SUFFIX="${SUFFIX%\($tmp3\)}"
|
SUFFIX="${SUFFIX%\($tmp3\)}"
|
||||||
|
|
Loading…
Reference in a new issue