From 35fa37f5a2787a64314f50e01247ab904ec79b26 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Thu, 3 May 2001 17:07:24 +0000 Subject: Fix _files -F --- Completion/Unix/Type/_files | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Type/_files') diff --git a/Completion/Unix/Type/_files b/Completion/Unix/Type/_files index 03453bc48..1385bfc97 100644 --- a/Completion/Unix/Type/_files +++ b/Completion/Unix/Type/_files @@ -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 -- cgit 1.4.1