mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Check for color_nvm and set color_node based on that
This commit is contained in:
parent
b43a458b1e
commit
0ec2e06261
@ -21,6 +21,9 @@ function fish_mode_prompt -d 'bobthefish-optimized fish mode indicator'
|
||||
type -q bobthefish_colors
|
||||
and bobthefish_colors
|
||||
|
||||
[ -n "$color_nvm" ]
|
||||
and set -x color_node $color_nvm
|
||||
|
||||
set_color normal # clear out anything bold or underline...
|
||||
|
||||
switch $fish_bind_mode
|
||||
|
@ -1115,6 +1115,9 @@ function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
|
||||
type -q bobthefish_colors
|
||||
and bobthefish_colors
|
||||
|
||||
[ -n "$color_nvm" ]
|
||||
and set -x color_node $color_nvm
|
||||
|
||||
# Start each line with a blank slate
|
||||
set -l __bobthefish_current_bg
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user