I installed the packages zsh
and zsh-doc
, but when I type man zsh
, I get no manual entry for zsh.
Where can I find zsh docs?
Asked
Active
Viewed 749 times
1 Answers
2
You can find the docs in /usr/share/doc/zsh-common
. I suspect if you also install zsh-common, you will also find the man
pages.
ZSH(1) General Commands Manual ZSH(1)
NAME
zsh - the Z shell
OVERVIEW
Because zsh contains many features, the zsh manual has been split into
a number of sections:
zsh Zsh overview (this section)
zshroadmap Informal introduction to the manual
zshmisc Anything not fitting into the other sections
<snip>
It appears to be a bug: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1242108 Posts #21 and 22 suggest work-arounds. It is apparently fixed for Ubuntu 14.10 as it works perfectly on my system.

chili555
- 60,188
-
I apparently already have zsh-common installed, but it still says
No manual entry
. Is there another package I should install? – Jonathan Mar 06 '15 at 17:19 -
Not that I know of. I tested by installing the three packages and the man page came right up. You might try to sudo apt-get reinstall all three and see if it is corrected. – chili555 Mar 06 '15 at 17:21
-
There's no such thing as
sudo apt-get reinstall
, apparently. Runningsudo apt-get remove zsh zsh-common zsh-doc && sudo apt-get install zsh zsh-common zsh-doc
doesn't give me man pages, but it does give a warning:update-alternatives: warning: skip creation of /usr/share/man/man1/rzsh.1.gz because associated file /usr/share/man/man1/zsh.1.gz (of link group rzsh) doesn't exist
. Could that have something to do with it? – Jonathan Mar 06 '15 at 18:57 -
-
1Great, running
wget -qO- "http://downloads.sourceforge.net/project/zsh/zsh/5.0.2/zsh-5.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fzsh%2Ffiles%2Fzsh%2F5.0.2%2F&ts=1407408881&use_mirror=superb-dca3" | sudo tar xvz -C /usr/share/man/man1/ --wildcards "zsh-5.0.2/Doc/*.1" --strip-components=2 && sudo chown root:root /usr/share/man/man1/zsh*.1
from the comment in that bug report fixed it. – Jonathan Mar 06 '15 at 20:01 -