Skip to content

bgjobs Segment

Description

This segment print the number of jobs running in background of the current terminal.

This segment is only shown when there are background running jobs.

Requirements

This segment has no requirement.

Variables

Variables Default Description
BGJOBS_CHAR & Character to show before the segment content
BGJOBS_FG white Foreground color of segment
BGJOBS_BG black Background color of segment, only used by v2

Examples

Note: On example below, you see string bgjobs after the segment character instead of number. This is because this screenshot was done using DEBUG_MODE variable.

Prompt v1 Prompt v2
Full Version
bgjobs v1 full
bgjobs v2 full
Maximum Short Version
bgjobs v1 short
bgjobs v2 short


Last update: December 2, 2021
Back to top