From bf97e9cc2cba3e8e41d49b185461c07eeb2127db Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Mon, 2 Apr 2018 12:35:22 +0800 Subject: [PATCH] Put pure zsh config into .zshrc --- .install/zsh-pure.sh | 5 ----- .zshrc | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) 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 +