Created
August 13, 2015 06:25
-
-
Save mouson/81be7b2abfba8401ad5c to your computer and use it in GitHub Desktop.
This file contains 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 | |
ZSH_VERSION=5.0.8 | |
yum -y install ncurses-devel | |
# download | |
wget http://sourceforge.net/projects/zsh/files/zsh/$ZSH_VERSION/zsh-$ZSH_VERSION.tar.bz2 | |
tar xvjf zsh-$ZSH_VERSION.tar.bz2 | |
cd zsh-$ZSH_VERSION | |
# compiler | |
./configure && make && sudo make install | |
/usr/local/bin/zsh --version | |
echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells | |
chsh -s /usr/local/bin/zsh | |
#install oh-my-zsh | |
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh | |
cp ~/.zshrc ~/.zshrc.old▫ | |
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment