Skip to content

Commit

Permalink
update check for nvm to allow for functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-gilbert authored and bobthecow committed Jan 28, 2021
1 parent dcb5c9e commit 626bd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/fish_prompt.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 626bd39

Please sign in to comment.