diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/prompt.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index 6864ce19..f3f1416f 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -184,7 +184,7 @@ prompt() { # Show the count of background jobs in curly brackets job) local jobc=0 - while read -r line; do + while read -r _; do ((jobc++)) done < <(jobs) if ((jobc > 0)); then |