mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
huh. weird that we were still using glyphs there.
This commit is contained in:
parent
da2cd2eac4
commit
d1731ae1e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user