aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.d/prompt.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index f3f1416f..cb883776 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -186,7 +186,7 @@ prompt() {
local jobc=0
while read -r _; do
((jobc++))
- done < <(jobs)
+ done < <(jobs -p)
if ((jobc > 0)); then
printf '{%d}' "$jobc"
fi