about summary refs log tree commit diff
path: root/Completion/Unix/Type/_tar_archive
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-02-26 14:56:47 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-02-26 14:56:47 +0000
commit194e4cac614cde3628293812f8edd285e593bfd1 (patch)
treec5423309e4048d260412b2e997b6a63729c07a22 /Completion/Unix/Type/_tar_archive
parent1ee81df6f993544db33f4ec39cab2a06f21cbf46 (diff)
downloadzsh-194e4cac614cde3628293812f8edd285e593bfd1.tar.gz
zsh-194e4cac614cde3628293812f8edd285e593bfd1.tar.xz
zsh-194e4cac614cde3628293812f8edd285e593bfd1.zip
18300: handle tar's -C option better
Diffstat (limited to 'Completion/Unix/Type/_tar_archive')
-rw-r--r--Completion/Unix/Type/_tar_archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Type/_tar_archive b/Completion/Unix/Type/_tar_archive
index e5a754e93..c5ab0e9fc 100644
--- a/Completion/Unix/Type/_tar_archive
+++ b/Completion/Unix/Type/_tar_archive
@@ -13,7 +13,7 @@ local expl
 
 _description files expl 'archive file'
 
-if [[ "$1" = *[tx]* ]]; then
+if [[ "$1" = *[urtx]* ]]; then
   if [[ "$1" = *[zZ]* ]]; then
     _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)'
   elif [[ "$1" = *[Ijy]* ]]; then