From 6576451be197b04713deee63de64e3784cda744d Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sat, 5 Dec 2009 17:29:11 +0000 Subject: Ingmar Vanhassel: 27456: complete .tar.lzma, .tbz, .txz. --- Completion/Unix/Type/_tar_archive | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Type') diff --git a/Completion/Unix/Type/_tar_archive b/Completion/Unix/Type/_tar_archive index a39e841f8..28df77638 100644 --- a/Completion/Unix/Type/_tar_archive +++ b/Completion/Unix/Type/_tar_archive @@ -19,9 +19,9 @@ if [[ "$1" = *[urtx]* ]]; then elif [[ "$1" = *[Ijy]* ]]; then _files "$expl[@]" -g '*.(tar|TAR).bz2(-.)' elif [[ "$1" = *J* ]]; then - _files "$expl[@]" -g '*.(tar|TAR).xz(-.)' + _files "$expl[@]" -g '*.(tar|TAR).(lzma|xz)(-.)' elif [[ "$_cmd_variant[$service]" == gnu ]]; then - _files "$expl[@]" -g '*.((tar|TAR)(.gz|.GZ|.Z|.bz2|xz|)|tgz)(-.)' + _files "$expl[@]" -g '*.((tar|TAR)(.gz|.GZ|.Z|.bz2|.lzma|.xz|)|(tbz|tgz|txz))(-.)' else _files "$expl[@]" -g '*.(tar|TAR)(-.)' fi -- cgit 1.4.1