about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-09 21:56:08 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-09 21:56:08 +0000
commit25c96897a56ce305d80eb1b5de1bbbaedf755bb4 (patch)
treefd9b3b96d9da96f23fa7f90471f6755f9c45e8f5 /Completion/Core
parentbf0bb55f4a41fc9aded4506ba5ccc997686e60ed (diff)
downloadzsh-25c96897a56ce305d80eb1b5de1bbbaedf755bb4.tar.gz
zsh-25c96897a56ce305d80eb1b5de1bbbaedf755bb4.tar.xz
zsh-25c96897a56ce305d80eb1b5de1bbbaedf755bb4.zip
zsh-workers/9278
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_path_files2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index 51222bd9c..12d497a97 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -160,7 +160,7 @@ eorig="$orig"
 
 # If given no `-F' option, we want to use the `ignored-suffixes'-style.
 
-if (( ! $#ignore )); then
+if [[ $#ignore -eq 0 && -z $gopt ]]; then
   if zstyle -a ":completion${curcontext}:files" ignored-suffixes ignore; then
     ignore=(-F "( $ignore )")
   else