Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@talbergs
Created February 7, 2017 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save talbergs/c1526ffdfc542cb904fa3b9344ee91da to your computer and use it in GitHub Desktop.
Save talbergs/c1526ffdfc542cb904fa3b9344ee91da to your computer and use it in GitHub Desktop.
install-zsh
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