From a0135423b0ecba9099daafa89789bfbc93a8f696 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 2 Apr 2018 03:08:50 +0000 Subject: [PATCH] Update zsh-pure to manual install --- .install/zsh-pure.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.install/zsh-pure.sh b/.install/zsh-pure.sh index 0352adc..05d88ce 100755 --- a/.install/zsh-pure.sh +++ b/.install/zsh-pure.sh @@ -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 +