Last active
May 15, 2017 02:00
-
-
Save mchelen/60b2853bf84117088662 to your computer and use it in GitHub Desktop.
man zsh ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# for ubuntu 14.04 with zsh 5.0.2 | |
# bug: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1242108 | |
# file src: http://sourceforge.net/projects/zsh/files/zsh/5.0.2/zsh-5.0.2.tar.gz/download | |
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 |
I'd like to suggest the following after executing your one-liner:
sudo chmod 0644 /usr/share/man/man1/zsh*.1
sudo gzip /usr/share/man/man1/zsh*.1
sudo mandb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this!