Created
January 5, 2015 15:59
-
-
Save jesseschutt/8a2ab38b28cc9e5b2bb9 to your computer and use it in GitHub Desktop.
Adding Oh-My-ZSH to Homestead
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
if [ ! -f /usr/local/extra_homestead_software_installed ]; then | |
echo 'installing some extra software' | |
# | |
# install zsh | |
# | |
apt-get install zsh -y | |
# | |
# install oh my zhs | |
# (after.sh is run as the root user, but ssh is the vagrant user) | |
# | |
git clone git://github.com/robbyrussell/oh-my-zsh.git /home/vagrant/.oh-my-zsh | |
cp /home/vagrant/.oh-my-zsh/templates/zshrc.zsh-template /home/vagrant/.zshrc | |
chsh -s /usr/bin/zsh vagrant | |
# | |
# remember that the extra software is installed | |
# | |
touch /usr/local/extra_homestead_software_installed | |
else | |
echo "extra software already installed... moving on..." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment