Skip to content

Instantly share code, notes, and snippets.

@gtramontina gtramontina/zsh
Created Sep 4, 2014

Embed
What would you like to do?
Install Prezto
fancy_echo "Installing Prezto – Instantly Awesome Zsh…"
git_clone_or_pull 'https://github.com/sorin-ionescu/prezto.git' "${ZDOTDIR:-$HOME}/.zprezto"
TMP_RC_FILE=$(mktemp -t rcfile); cat << EOF > $TMP_RC_FILE
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -f -s "\$rcfile" "\${ZDOTDIR:-$HOME}/.\${rcfile:t}"
done
rm -f $TMP_RC_FILE
EOF
zsh --rcs $TMP_RC_FILE
unset TMP_RC_FILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.