1
0
Fork 0

Update zsh-pure to manual install

main
Ambrose Chua 2018-04-02 03:08:50 +00:00
parent 97f91be77f
commit a0135423b0
1 changed files with 9 additions and 1 deletions

View File

@ -7,4 +7,12 @@ echo
echo "Installing pure-prompt for ZSH..."
echo
yarn global add pure-prompt
mkdir ~/.zfunctions
curl -fLo ~/.zfunctions/prompt_pure_setup https://raw.githubusercontent.com/sindresorhus/pure/master/pure.zsh
curl -fLo ~/.zfunctions/async https://raw.githubusercontent.com/sindresorhus/pure/master/async.zsh
echo '# pure' >> ~/.zshrc
echo 'fpath=( "$HOME/.zfunctions" $fpath )' >> ~/.zshrc
echo 'autoload -U promptinit; promptinit' >> ~/.zshrc
echo 'prompt pure' >> ~/.zshrc