aboutsummaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2016-01-22 21:52:00 +0300
committerDominik Ritter <dritter03@googlemail.com>2016-01-22 21:52:00 +0300
commitc379cf2657c164280e7f2206bc000de8963ca3de (patch)
tree47b7874159d2c0c2a2f14f1c2b88dd6b79cafb63 /powerlevel9k.zsh-theme
parent657a097ef0bc403440afbec4a92d8d88f167d2b6 (diff)
Syntax fix.
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 f464e10e..6f34b94c 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -295,7 +295,7 @@ prompt_background_jobs() {
local background_jobs_number=${$(jobs -l | wc -l)// /}
if [[ background_jobs_number -gt 0 ]]; then
local background_jobs_number_print=""
- if [[ POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE ]] && [[ background_jobs_number -gt 1 ]]; then
+ if [[ "$POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE" == "true" ]] && [[ "$background_jobs_number" -gt 1 ]]; then
background_jobs_number_print="$background_jobs_number"
fi
"$1_prompt_segment" "$0" "$2" "$DEFAULT_COLOR" "cyan" "$background_jobs_number_print" 'BACKGROUND_JOBS_ICON'