From 194e4cac614cde3628293812f8edd285e593bfd1 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 26 Feb 2003 14:56:47 +0000 Subject: 18300: handle tar's -C option better --- Completion/Unix/Type/_tar_archive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Type/_tar_archive') 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 -- cgit 1.4.1