1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

unposted: support lzma compression of man pages used in Mandriva

This commit is contained in:
Andrey Borzenkov 2009-06-28 17:19:59 +00:00
parent cf87e2562c
commit 486c21ad3a
2 changed files with 8 additions and 3 deletions

View file

@ -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 $
*****************************************************

View file

@ -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
}