about summary refs log tree commit diff
path: root/Completion/Unix/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-06-24 19:28:55 +0000
committerClint Adams <clint@users.sourceforge.net>2006-06-24 19:28:55 +0000
commitfdff42eaa70f115104d3e4269593ed553fa32659 (patch)
tree83eaf39726ab293acd1001de0436f45cede356d6 /Completion/Unix/Command
parenta940c3648790aaf115068d8b2a4e239b01cac6a6 (diff)
downloadzsh-fdff42eaa70f115104d3e4269593ed553fa32659.tar.gz
zsh-fdff42eaa70f115104d3e4269593ed553fa32659.tar.xz
zsh-fdff42eaa70f115104d3e4269593ed553fa32659.zip
22511: complete compressed archive filenames for GNU tar even when a compression
option is not specified.
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r--Completion/Unix/Command/_tar2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar
index 3e3b3fc51..b3a590d72 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -21,6 +21,8 @@ local _tar_cmd tf tmp tmpb del index
 # from some of the possible long options, and from the second word if
 # that does not start with a hyphen.
 
+_pick_variant gnu=GNU unix --version
+
 tmp=("${(@M)words:#-[^-]*}")
 _tar_cmd="${(j::)tmp#-}"