aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-03-13 21:20:11 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-03-13 21:20:11 +0300
commit8de106d0e39131ac85529337c3d6cd02f3661e16 (patch)
tree75c4c59d675257da5d3b99ec9f0fc028ba1694ce /powerlevel9k.zsh-theme
parentf2787c7aad472c310e84a658e8a0c2ea296cd16d (diff)
count suspended jobs too
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
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=''