diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-03-13 21:20:11 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-03-13 21:20:11 +0300 |
commit | 8de106d0e39131ac85529337c3d6cd02f3661e16 (patch) | |
tree | 75c4c59d675257da5d3b99ec9f0fc028ba1694ce /powerlevel9k.zsh-theme | |
parent | f2787c7aad472c310e84a658e8a0c2ea296cd16d (diff) |
count suspended jobs too
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 4f335393..7aef2e16 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -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='' |