Only look for color_nvm in the __bobthefish_prompt_node function

This commit is contained in:
wesbaker 2021-01-23 16:42:56 -05:00
parent 6f393d4570
commit 60bd1f5f06

View File

@ -918,6 +918,9 @@ function __bobthefish_prompt_node -S -d 'Display current node version'
[ -z $node_version -o "$node_version" = 'none' -o "$node_version" = 'system' ]
and return
[ -n "$color_nvm" ]
and set -x color_node $color_nvm
__bobthefish_start_segment $color_node
echo -ns $node_glyph $node_version ' '
set_color normal