From f1b6bbda157a7ac5c197e28fac1c412f063421e9 Mon Sep 17 00:00:00 2001 From: leokang94 Date: Tue, 19 Nov 2024 20:20:04 +0900 Subject: [PATCH] Make NVM_AUTO_USE works even when loaded done --- zsh-nvm.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zsh-nvm.plugin.zsh b/zsh-nvm.plugin.zsh index f4f56f3..2631511 100644 --- a/zsh-nvm.plugin.zsh +++ b/zsh-nvm.plugin.zsh @@ -69,6 +69,9 @@ _zsh_nvm_load() { ;; esac } + + [[ "$NVM_AUTO_USE" == true ]] && _zsh_nvm_auto_use + } _zsh_nvm_completion() {