From 1f03591f216652824818d13730588d78226d569a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Aug 2006 11:41:06 +0000 Subject: 22584: GNU tar should complete uncompressed archives --- Completion/Unix/Type/_tar_archive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Type/_tar_archive b/Completion/Unix/Type/_tar_archive index eceaea875..1ac7cd0bf 100644 --- a/Completion/Unix/Type/_tar_archive +++ b/Completion/Unix/Type/_tar_archive @@ -19,7 +19,7 @@ if [[ "$1" = *[urtx]* ]]; then elif [[ "$1" = *[Ijy]* ]]; then _files "$expl[@]" -g '*.(tar|TAR).bz2(-.)' elif [[ "$_cmd_variant[$service]" == gnu ]]; then - _files "$expl[@]" -g '*.((tar|TAR).(gz|GZ|Z|bz2)|tgz)(-.)' + _files "$expl[@]" -g '*.((tar|TAR)(.gz|.GZ|.Z|.bz2|)|tgz)(-.)' else _files "$expl[@]" -g '*.(tar|TAR)(-.)' fi -- cgit 1.4.1