Last active
February 28, 2018 05:07
-
-
Save perillamint/8a3eeea568f2a06b5c9d892ec8dd08da to your computer and use it in GitHub Desktop.
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
#!/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