|
|
|
@ -334,7 +334,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no
|
|
|
|
|
|
|
|
|
|
# Last exit was nonzero
|
|
|
|
|
[ $last_status -ne 0 ]
|
|
|
|
|
and set nonzero $__bobthefish_nonzero_exit_glyph
|
|
|
|
|
and set nonzero 1
|
|
|
|
|
|
|
|
|
|
# If superuser (uid == 0)
|
|
|
|
|
#
|
|
|
|
@ -344,11 +344,11 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no
|
|
|
|
|
# willing to make.
|
|
|
|
|
[ -w / ]
|
|
|
|
|
and [ (id -u) -eq 0 ]
|
|
|
|
|
and set superuser $__bobthefish_superuser_glyph
|
|
|
|
|
and set superuser 1
|
|
|
|
|
|
|
|
|
|
# Jobs display
|
|
|
|
|
jobs -p >/dev/null
|
|
|
|
|
and set bg_jobs $__bobthefish_bg_job_glyph
|
|
|
|
|
and set bg_jobs 1
|
|
|
|
|
|
|
|
|
|
if [ "$nonzero" -o "$superuser" -o "$bg_jobs" ]
|
|
|
|
|
__bobthefish_start_segment $__color_initial_segment_exit
|
|
|
|
|