diff options
-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 df32b9d8..23870d51 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -255,7 +255,7 @@ prompt() { # Show the count of background jobs in curly brackets, if not zero job) local -i jobc - while read -r _ ; do + while read ; do ((jobc++)) done < <(jobs -p) if ((jobc > 0)) ; then |