mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
20x faster "has background jobs" flag.
This commit is contained in:
parent
b49a821a81
commit
1562614484
@ -328,7 +328,7 @@ function __bobthefish_prompt_status -S -a last_status -d 'Display flags for a no
|
||||
and set superuser $__bobthefish_superuser_glyph
|
||||
|
||||
# Jobs display
|
||||
[ (jobs -l | wc -l) -gt 0 ]
|
||||
jobs -p >/dev/null
|
||||
and set bg_jobs $__bobthefish_bg_job_glyph
|
||||
|
||||
if [ "$nonzero" -o "$superuser" -o "$bg_jobs" ]
|
||||
|
Loading…
Reference in New Issue
Block a user