Skip to content

Instantly share code, notes, and snippets.

@roblav96
Last active May 15, 2020 12:21
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 roblav96/2de57108fdaf109d167effb44fc24da3 to your computer and use it in GitHub Desktop.
Save roblav96/2de57108fdaf109d167effb44fc24da3 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo apt install zsh
curl -sfL git.io/antibody | sudo sh -s - -b /usr/local/bin
git clone https://github.com/roblav96/dotfiles $HOME/.dotfiles
sh $HOME/.dotfiles/install.zsh
grep -q -F $(which zsh) /etc/shells
if [ $? -ne 0 ]; then
sudo echo $(which zsh) >> /etc/shells
fi
sudo chsh -s $(which zsh) $(whoami)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment