diff --git a/.install/zsh-pure.sh b/.install/zsh-pure.sh index 263620b..832fa2e 100755 --- a/.install/zsh-pure.sh +++ b/.install/zsh-pure.sh @@ -12,8 +12,3 @@ curl -fLo ~/.zfunctions/prompt_pure_setup --create-dirs \ curl -fLo ~/.zfunctions/async --create-dirs \ 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 - diff --git a/.zshrc b/.zshrc index 553b1f9..900c8ab 100644 --- a/.zshrc +++ b/.zshrc @@ -11,3 +11,8 @@ export PATH="$(go env GOPATH)/bin:$PATH" # aliases alias vim=nvim +# pure +fpath=( "$HOME/.zfunctions" $fpath ) +autoload -U promptinit; promptinit +prompt pure +