Skip to content

Instantly share code, notes, and snippets.

@perillamint
Last active February 28, 2018 05:07
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 perillamint/8a3eeea568f2a06b5c9d892ec8dd08da to your computer and use it in GitHub Desktop.
Save perillamint/8a3eeea568f2a06b5c9d892ec8dd08da to your computer and use it in GitHub Desktop.
#!/bin/zsh
set -e
if [ ! -f /bin/zsh ]; then echo "This script requires zsh!" && exit 1; fi
git clone https://github.com/zsh-users/antigen.git ~/.antigen
cat > ~/.zshrc <<EOF
source $HOME/.antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle command-not-found
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
antigen theme gentoo
antigen apply
EOF
echo "All done! Changing your shell to /bin/zsh..."
chsh -s /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment