about summary refs log tree commit diff
path: root/Completion/User/_tiff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>2000-03-24 00:01:54 +0000
committerTanaka Akira <akr@users.sourceforge.net>2000-03-24 00:01:54 +0000
commit41fb4173bf31fedebb057b8ae8ba8e6f7149317b (patch)
tree405b61f2b0dca30eaca8bf30d145419e54aabbb9 /Completion/User/_tiff
parent993db7cf0267b4d9c7f8faaa40af8948ba26a2e2 (diff)
downloadzsh-41fb4173bf31fedebb057b8ae8ba8e6f7149317b.tar.gz
zsh-41fb4173bf31fedebb057b8ae8ba8e6f7149317b.tar.xz
zsh-41fb4173bf31fedebb057b8ae8ba8e6f7149317b.zip
zsh-workers/10214
Diffstat (limited to 'Completion/User/_tiff')
-rw-r--r--Completion/User/_tiff3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/User/_tiff b/Completion/User/_tiff
index 5f7cc7edb..10c31ca6e 100644
--- a/Completion/User/_tiff
+++ b/Completion/User/_tiff
@@ -13,7 +13,8 @@ if [[ $# -ne 0 || $+_in_tiff -ne 0 ]]; then
     _description files expl 'picture file'
     set -- "$expl[@]"
   fi
-  _path_files "$@" -g "$pat" || _files "$@" -g '*.(#i)tiff'
+  _wanted files expl 'picture file' _path_files "$@" -g "$pat" - ||
+      _files "$@" "$expl[@]" -g '*.(#i)tiff'
   return
 fi