about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2009-06-28 17:19:59 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2009-06-28 17:19:59 +0000
commit486c21ad3a5530535f2c572c81b68548d628d675 (patch)
treefceca9849a19a54307ef04bcf1fc1e950e50cd42
parentcf87e2562c4ca2a49de36d68cd2c91a58ff02ada (diff)
downloadzsh-486c21ad3a5530535f2c572c81b68548d628d675.tar.gz
zsh-486c21ad3a5530535f2c572c81b68548d628d675.tar.xz
zsh-486c21ad3a5530535f2c572c81b68548d628d675.zip
unposted: support lzma compression of man pages used in Mandriva
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_man4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index eac7622c5..61ccab6cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-28  Andrey Borzenkov <bor@zsh.org>
+
+	* unposted: Completion/Unix/Command/_man:
+	support lzma compression of man pages used in Mandriva
+
 2009-06-27  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 27061: Nicolas Lalevée: Completion/Unix/Command/_ant:
@@ -11865,5 +11870,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4719 $
+* $Revision: 1.4720 $
 *****************************************************
diff --git a/Completion/Unix/Command/_man b/Completion/Unix/Command/_man
index dc5bb1fec..0820870f2 100644
--- a/Completion/Unix/Command/_man
+++ b/Completion/Unix/Command/_man
@@ -98,9 +98,9 @@ _man_pages() {
   if ((CURRENT > 2)) ||
       ! zstyle -t ":completion:${curcontext}:manuals.$sect" insert-sections
   then
-    compadd "$@" - ${pages%.((?|<->*)(|.gz|.bz2|.Z))}
+    compadd "$@" - ${pages%.((?|<->*)(|.gz|.bz2|.Z|.lzma))}
   else
-    compadd "$@" -P "$sopt$sect " - ${pages%.((?|<->*)(|.gz|.bz2|.Z))}
+    compadd "$@" -P "$sopt$sect " - ${pages%.((?|<->*)(|.gz|.bz2|.Z|.lzma))}
   fi
 }