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:
parent
36546001bd
commit
35fa37f5a2
@ -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>
|
2001-05-03 Oliver Kiddle <opk@zsh.org>
|
||||||
|
|
||||||
* 14216: Completion/Unix/Command/.distfiles,
|
* 14216: Completion/Unix/Command/.distfiles,
|
||||||
|
@ -12,9 +12,9 @@ if (( $tmp[(I)-g*] )); then
|
|||||||
[[ "$glob" = *[^\\][[:blank:]]* ]] &&
|
[[ "$glob" = *[^\\][[:blank:]]* ]] &&
|
||||||
glob="{${glob//(#b)([^\\])[[:blank:]]##/${match[1]},}}"
|
glob="{${glob//(#b)([^\\])[[:blank:]]##/${match[1]},}}"
|
||||||
fi
|
fi
|
||||||
ign=$opts[(I)-F]
|
tmp=$opts[(I)-F]
|
||||||
if (( ign )); then
|
if (( tmp )); then
|
||||||
ign=( $=opts[ign+1] )
|
ign=( $=opts[tmp+1] )
|
||||||
if [[ $ign = _comp_ignore ]]; then
|
if [[ $ign = _comp_ignore ]]; then
|
||||||
ign=( $_comp_ignore )
|
ign=( $_comp_ignore )
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user