Set lts flag on nvm

This commit is contained in:
Alicia Sykes 2024-08-10 23:40:30 +01:00
parent a3cfb795bc
commit 6acb6b412d

View File

@ -67,7 +67,7 @@ autoload -U add-zsh-hook
load-nvmrc() { load-nvmrc() {
local nvmrc_path=".nvmrc" local nvmrc_path=".nvmrc"
if [[ -f $nvmrc_path ]]; then if [[ -f $nvmrc_path ]]; then
nvm use nvm use --lts
fi fi
} }
add-zsh-hook chpwd load-nvmrc add-zsh-hook chpwd load-nvmrc