# Download oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Set zsh to auto-start
echo 'exec /bin/zsh' >> ~/.bash_profile
# Add aws cli to zsh plugins (for tab completion)
sed -i "/^plugins=/c\plugins=(git aws)" ~/.zshrc
# Ask bash to update using this new profile
source ~/.bash_profile
# Exit current session
exit
# Exit one more time to make sure the changes stick
exit
git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
sed -i "/^ZSH_THEME=/c\ZSH_THEME=spaceship" ~/.zshrc
exit