mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Only look for color_nvm in the __bobthefish_prompt_node function
This commit is contained in:
parent
6f393d4570
commit
60bd1f5f06
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user