|
|
|
@ -889,17 +889,19 @@ function __bobthefish_prompt_golang -S -d 'Display current Go information'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
__bobthefish_start_segment $color_virtualgo
|
|
|
|
|
echo -ns $go_glyph
|
|
|
|
|
|
|
|
|
|
# do we show the version in red if it's not the right version?
|
|
|
|
|
if [ "$theme_display_go_show_wrong_version" = "yes" ]
|
|
|
|
|
# yes we do, so check if the version is high enough
|
|
|
|
|
if [ "$high_enough_version" = "0" ]
|
|
|
|
|
# the version of go isn't high enough
|
|
|
|
|
__bobthefish_start_segment $color_rvm
|
|
|
|
|
else
|
|
|
|
|
__bobthefish_start_segment $color_virtualgo
|
|
|
|
|
end
|
|
|
|
|
else
|
|
|
|
|
__bobthefish_start_segment $color_virtualgo
|
|
|
|
|
end
|
|
|
|
|
echo -ns $go_glyph
|
|
|
|
|
|
|
|
|
|
if [ "$theme_display_go_actual" = "yes" ]
|
|
|
|
|
if [ "$actual_go_version" = "0" ]
|
|
|
|
|