From 680a2161a4cd2b26373408a3ca5f935ab17cc43d Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 17 Feb 2000 20:23:11 +0000 Subject: manual/9784 --- Completion/User/_tar | 2 ++ Completion/User/_tar_archive | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Completion/User/_tar b/Completion/User/_tar index 0315e193a..ac23e94f3 100644 --- a/Completion/User/_tar +++ b/Completion/User/_tar @@ -125,6 +125,8 @@ elif [[ ( "$_tar_cmd" = *[xt]* || -n $del ) && -n "$tf" ]]; then if [[ $_tar_cmd = *z* ]]; then largs=-tzf + elif [[ $_tar_cmd = *y* ]]; then + largs=-tyf elif [[ $_tar_cmd = *Z* ]]; then largs=-tZf elif [[ $_tar_cmd = *I* ]]; then diff --git a/Completion/User/_tar_archive b/Completion/User/_tar_archive index 319c10d83..1cf18d03c 100644 --- a/Completion/User/_tar_archive +++ b/Completion/User/_tar_archive @@ -16,7 +16,7 @@ _description files expl 'archive file' if [[ "$1" = *[tx]* ]]; then if [[ "$1" = *[zZ]* ]]; then _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z)|tgz)' - elif [[ "$1" = *I* ]]; then + elif [[ "$1" = *[Iy]* ]]; then _files "$expl[@]" -g '*.(tar|TAR).bz2' else _files "$expl[@]" -g '*.(tar|TAR)' -- cgit 1.4.1