mirror of
https://github.com/Lissy93/dotfiles.git
synced 2024-11-21 15:03:15 +01:00
Set lts flag on nvm
This commit is contained in:
parent
a3cfb795bc
commit
6acb6b412d
@ -67,7 +67,7 @@ autoload -U add-zsh-hook
|
||||
load-nvmrc() {
|
||||
local nvmrc_path=".nvmrc"
|
||||
if [[ -f $nvmrc_path ]]; then
|
||||
nvm use
|
||||
nvm use --lts
|
||||
fi
|
||||
}
|
||||
add-zsh-hook chpwd load-nvmrc
|
||||
|
Loading…
Reference in New Issue
Block a user