From 626bd39b002535d69e56adba5b58a1060cfb6d7b Mon Sep 17 00:00:00 2001 From: Nathan Gilbert Date: Wed, 27 Jan 2021 17:59:31 -0700 Subject: [PATCH] update check for nvm to allow for functions --- functions/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 94bd1a51..02bfe972 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -902,7 +902,7 @@ function __bobthefish_prompt_node -S -d 'Display current node version' set -l node_manager set -l node_manager_dir - if type -fq nvm + if type -q nvm set node_manager 'nvm' set node_manager_dir $NVM_DIR else if type -fq fnm