change function bobthefish_display_colors to print using the environment value, rather than a fixed characters (#163)

pull/131/merge
Minjun Shin 6 years ago committed by Justin Hileman
parent fcec6aeece
commit 0688cd8e98

@ -38,11 +38,11 @@ function bobthefish_display_colors -a color_scheme -d 'Print example prompt colo
set_color normal set_color normal
__bobthefish_start_segment $color_initial_segment_exit __bobthefish_start_segment $color_initial_segment_exit
echo -n exit '! ' echo -n exit $nonzero_exit_glyph
set_color -b $color_initial_segment_su set_color -b $color_initial_segment_su
echo -n su '$ ' echo -n su $superuser_glyph
set_color -b $color_initial_segment_jobs set_color -b $color_initial_segment_jobs
echo -n jobs '% ' echo -n jobs $bg_job_glyph
__bobthefish_finish_segments __bobthefish_finish_segments
set_color normal set_color normal
echo -n "(<- initial_segment)" echo -n "(<- initial_segment)"

Loading…
Cancel
Save