mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 22:51:42 +02:00
17234: don't call _path_files with empty ().
This commit is contained in:
parent
53ec91769c
commit
b66a4a262f
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-26 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
|
* 17234: Completion/Unix/Command/_cvs:
|
||||||
|
don't call _path_files with empty ().
|
||||||
|
|
||||||
2002-05-25 Clint Adams <clint@zsh.org>
|
2002-05-25 Clint Adams <clint@zsh.org>
|
||||||
|
|
||||||
* 17225: Completion/Unix/Command/_cvs:
|
* 17225: Completion/Unix/Command/_cvs:
|
||||||
|
|
|
@ -945,7 +945,11 @@ _cvs_strict_nonentried_files () {
|
||||||
omitpats=(
|
omitpats=(
|
||||||
${${${${(M)${(f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
|
${${${${(M)${(f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}
|
||||||
)
|
)
|
||||||
_path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"
|
if (( $#omitpats )); then
|
||||||
|
_path_files -g "*~(*/|)(${(j:|:)~omitpats})(D.)"
|
||||||
|
else
|
||||||
|
_path_files -g "*~(*/|)(D.)"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue