diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-26 14:56:47 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2003-02-26 14:56:47 +0000 |
commit | 194e4cac614cde3628293812f8edd285e593bfd1 (patch) | |
tree | c5423309e4048d260412b2e997b6a63729c07a22 /Completion/Unix/Type | |
parent | 1ee81df6f993544db33f4ec39cab2a06f21cbf46 (diff) | |
download | zsh-194e4cac614cde3628293812f8edd285e593bfd1.tar.gz zsh-194e4cac614cde3628293812f8edd285e593bfd1.tar.xz zsh-194e4cac614cde3628293812f8edd285e593bfd1.zip |
18300: handle tar's -C option better
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r-- | Completion/Unix/Type/_tar_archive | 2 |
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 |