#all in one manual fix for Ubuntu 14.04 with zsh-5.0.2 (based on
mchelen's one-liner):

# get zsh tar file and uncompress its Doc folder to /usr/share/man/man1
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

# fix permissions
sudo chown root:root /usr/share/man/man1/zsh*.1
sudo chmod 0644 /usr/share/man/man1/zsh*.1

# gzip the new zsh man pages (all others are gzipped as well)
sudo gzip /usr/share/man/man1/zsh*.1

# renew the man database (so that man -k or apropos finds the newly installed 
man pages)
sudo mandb

# show installed zsh man pages
man -k zsh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242108

Title:
  all zsh manpages and inline help files are missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1242108/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to