1
0
Fork 0

Put pure zsh config into .zshrc

main
Ambrose Chua 2018-04-02 12:35:22 +08:00
parent 092e0ad8b7
commit bf97e9cc2c
2 changed files with 5 additions and 5 deletions

View File

@ -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

5
.zshrc
View File

@ -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