Skip to content

Instantly share code, notes, and snippets.

@mouson
Created August 13, 2015 06:25
Show Gist options
  • Save mouson/81be7b2abfba8401ad5c to your computer and use it in GitHub Desktop.
Save mouson/81be7b2abfba8401ad5c to your computer and use it in GitHub Desktop.
#!/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