mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-13 16:40:08 +00:00
count suspended jobs too
This commit is contained in:
parent
f2787c7aad
commit
8de106d0e3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue