mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +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 true
|
||||||
set_default POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE_ALWAYS false
|
set_default POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE_ALWAYS false
|
||||||
prompt_background_jobs() {
|
prompt_background_jobs() {
|
||||||
local n && n="${(fw)#$(jobs -rd)}" && ((n > 1)) || return
|
local n && n="${(fw)#$(jobs -d)}" && ((n > 1)) || return
|
||||||
(( n /= 2 ))
|
(( n /= 2 ))
|
||||||
|
|
||||||
local prompt=''
|
local prompt=''
|
||||||
|
|
Loading…
Reference in a new issue