mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-12 19:18:28 +02:00
count suspended jobs too
This commit is contained in:
parent
f2787c7aad
commit
8de106d0e3
@ -313,7 +313,7 @@ prompt_aws_eb_env() {
|
||||
set_default POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE true
|
||||
set_default POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE_ALWAYS false
|
||||
prompt_background_jobs() {
|
||||
local n && n="${(fw)#$(jobs -rd)}" && ((n > 1)) || return
|
||||
local n && n="${(fw)#$(jobs -d)}" && ((n > 1)) || return
|
||||
(( n /= 2 ))
|
||||
|
||||
local prompt=''
|
||||
|
Loading…
Reference in New Issue
Block a user