about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-01-13 18:54:36 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-01-13 18:54:36 +0000
commitc8eba737c75237317bf8491627a550a2ceb4fd11 (patch)
tree8cdc0464088fee5704c2bdbdefe52efe2a3a9524
parent6a81d6f4d34ca5343bccc376b41722342477b3e2 (diff)
downloadzsh-c8eba737c75237317bf8491627a550a2ceb4fd11.tar.gz
zsh-c8eba737c75237317bf8491627a550a2ceb4fd11.tar.xz
zsh-c8eba737c75237317bf8491627a550a2ceb4fd11.zip
zsh-workers/9309
-rw-r--r--Completion/Builtins/_zstyle2
-rw-r--r--Completion/Core/_path_files3
2 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Builtins/_zstyle b/Completion/Builtins/_zstyle
index f5545819c..07bfd2976 100644
--- a/Completion/Builtins/_zstyle
+++ b/Completion/Builtins/_zstyle
@@ -27,7 +27,7 @@ styles=(
   hosts			 c:_hosts
   hosts-ports		 c:host-port
   hosts-ports-users	 c:host-port-user
-  ignored-suffixes	 c:
+  ignored-patterns	 c:
   insert-unambiguous	 c:bool
   last-prompt		 c:bool
   list			 c:listwhen
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files
index a76319030..79cf3804f 100644
--- a/Completion/Core/_path_files
+++ b/Completion/Core/_path_files
@@ -159,7 +159,8 @@ eorig="$orig"
 
 # If given no `-F' option, we may want to use $fignore, turned into patterns.
 
-[[ $#ignore -eq 0 && -z $gopt ]] && ignore=( "?*${^fignore[@]}" )
+[[ $#ignore -eq 0 && -z $gopt && -n $FIGNORE ]] && 
+   ignore=( "?*${^fignore[@]}" )
 
 if (( $#ignore )); then
   _comp_ignore=( "$_comp_ignore[@]" "$ignore[@]" )