diff options
author | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-06-28 17:19:59 +0000 |
---|---|---|
committer | Andrey Borzenkov <bor@users.sourceforge.net> | 2009-06-28 17:19:59 +0000 |
commit | 486c21ad3a5530535f2c572c81b68548d628d675 (patch) | |
tree | fceca9849a19a54307ef04bcf1fc1e950e50cd42 /Completion/Unix/Command | |
parent | cf87e2562c4ca2a49de36d68cd2c91a58ff02ada (diff) | |
download | zsh-486c21ad3a5530535f2c572c81b68548d628d675.tar.gz zsh-486c21ad3a5530535f2c572c81b68548d628d675.tar.xz zsh-486c21ad3a5530535f2c572c81b68548d628d675.zip |
unposted: support lzma compression of man pages used in Mandriva
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_man | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |