about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-05-03 17:07:24 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-05-03 17:07:24 +0000
commit35fa37f5a2787a64314f50e01247ab904ec79b26 (patch)
treee59888e4b4c1b451656f487f73f5b859b010a4ac /Completion/Unix
parent36546001bd7960319d39937050739d2269da5f20 (diff)
downloadzsh-35fa37f5a2787a64314f50e01247ab904ec79b26.tar.gz
zsh-35fa37f5a2787a64314f50e01247ab904ec79b26.tar.xz
zsh-35fa37f5a2787a64314f50e01247ab904ec79b26.zip
Fix _files -F
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_files6
1 files changed, 3 insertions, 3 deletions
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