summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-12-05 17:29:11 +0000
committerClint Adams <clint@users.sourceforge.net>2009-12-05 17:29:11 +0000
commit6576451be197b04713deee63de64e3784cda744d (patch)
tree7e425826a1b6b1433b5d6b3390ef512af466ce48
parentf35932958fccbd464d8e8514a106fef6d9c86ff3 (diff)
downloadzsh-6576451be197b04713deee63de64e3784cda744d.tar.gz
zsh-6576451be197b04713deee63de64e3784cda744d.tar.xz
zsh-6576451be197b04713deee63de64e3784cda744d.zip
Ingmar Vanhassel: 27456: complete .tar.lzma, .tbz, .txz.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Type/_tar_archive4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 859f7094f..e397104a0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-12-05  Clint Adams  <clint@zsh.org>
+
+	* Ingmar Vanhassel: 27456: Completion/Unix/Type/_tar_archive:
+	complete .tar.lzma, .tbz, .txz.
+
 2009-12-03  Clint Adams  <clint@zsh.org>
 
 	* 27448: Completion/Unix/Command/_tar,
@@ -12430,5 +12435,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4830 $
+* $Revision: 1.4831 $
 *****************************************************
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