From 6acb6b412dd40f1f7e9419c9cba63d31d407e192 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 10 Aug 2024 23:40:30 +0100 Subject: [PATCH] Set lts flag on nvm --- config/zsh/aliases/node-js.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/aliases/node-js.zsh b/config/zsh/aliases/node-js.zsh index eec8e18..6900c6a 100644 --- a/config/zsh/aliases/node-js.zsh +++ b/config/zsh/aliases/node-js.zsh @@ -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