Skip to content

Instantly share code, notes, and snippets.

@grzn
Last active December 16, 2015 22:30
Show Gist options
  • Save grzn/5507905 to your computer and use it in GitHub Desktop.
Save grzn/5507905 to your computer and use it in GitHub Desktop.
#!/bin/zsh
rm -rf "${ZDOTDIR:-$HOME}/.zprezto"
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -sf "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
echo '
autoload -U promptinit
promptinit
prompt bart
' >> ~/.zshrc
chsh -s /bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment