summary refs log tree commit diff
path: root/bin/hibiki/prompt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hibiki/prompt')
-rwxr-xr-xbin/hibiki/prompt5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/hibiki/prompt b/bin/hibiki/prompt
index f4f8f27..ee77770 100755
--- a/bin/hibiki/prompt
+++ b/bin/hibiki/prompt
@@ -10,4 +10,7 @@ else
 fi
 RESET="\[$(tput sgr0)\]"
 
-echo "${SET_TERM_TITLE}${color}\w${RESET} ❱ "
+# count jobs
+JOBS='`[ \j -gt 0 ] && printf " (\j)"`'
+
+echo "${SET_TERM_TITLE}${color}\w${RESET}${JOBS} ❱ "