Created
February 7, 2017 22:44
-
-
Save talbergs/c1526ffdfc542cb904fa3b9344ee91da to your computer and use it in GitHub Desktop.
install-zsh
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
apt-get -y update && \ | |
apt-get -y install git-core zsh && \ | |
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh && \ | |
chsh -s `which zsh` && \ | |
echo 'PROMPT="[drone]$PROMPT"' >> ~/.zshrc && \ | |
echo 'alias rr=". ~/.zshrc"' >> ~/.zshrc && \ | |
echo 'alias d="docker"' >> ~/.zshrc && \ | |
echo 'alias dc="docker-compose"' >> ~/.zshrc && \ | |
echo 'rebooting... log back in 2 minutes' && \ | |
sudo shutdown -r 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment