nvm auto use
This commit is contained in:
parent
5768b51f45
commit
16d73879dc
1 changed files with 5 additions and 0 deletions
5
zshrc
5
zshrc
|
@ -17,6 +17,7 @@ setopt correctall
|
||||||
alias git status='nocorrect git status'
|
alias git status='nocorrect git status'
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
|
export NVM_AUTO_USE=true
|
||||||
if [[ ! -f ~/.antigen.zsh ]]; then
|
if [[ ! -f ~/.antigen.zsh ]]; then
|
||||||
curl https://raw.githubusercontent.com/zsh-users/antigen/master/antigen.zsh > ~/.antigen.zsh
|
curl https://raw.githubusercontent.com/zsh-users/antigen/master/antigen.zsh > ~/.antigen.zsh
|
||||||
fi
|
fi
|
||||||
|
@ -25,3 +26,7 @@ source ~/.antigen.zsh
|
||||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||||
antigen bundle zsh-users/zsh-autosuggestions
|
antigen bundle zsh-users/zsh-autosuggestions
|
||||||
antigen bundle git
|
antigen bundle git
|
||||||
|
antigen bundle lukechilds/zsh-nvm
|
||||||
|
|
||||||
|
export NVM_DIR="$HOME/.nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
|
Loading…
Add table
Reference in a new issue