1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00

Fix _files -F

This commit is contained in:
Bart Schaefer 2001-05-03 17:07:24 +00:00
parent 36546001bd
commit 35fa37f5a2
2 changed files with 8 additions and 3 deletions

@ -1,3 +1,8 @@
2001-05-03 Bart Schaefer <schaefer@zsh.org>
* 14217: Completion/Unix/Type/_files: Fix processing of the -F
option so that it doesn't stomp on other options.
2001-05-03 Oliver Kiddle <opk@zsh.org>
* 14216: Completion/Unix/Command/.distfiles,

@ -12,9 +12,9 @@ if (( $tmp[(I)-g*] )); then
[[ "$glob" = *[^\\][[:blank:]]* ]] &&
glob="{${glob//(#b)([^\\])[[:blank:]]##/${match[1]},}}"
fi
ign=$opts[(I)-F]
if (( ign )); then
ign=( $=opts[ign+1] )
tmp=$opts[(I)-F]
if (( tmp )); then
ign=( $=opts[tmp+1] )
if [[ $ign = _comp_ignore ]]; then
ign=( $_comp_ignore )
else