diff options
Diffstat (limited to 'bash/bashrc.d/prompt.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 69801b90..ff8e4727 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -213,7 +213,7 @@ prompt() { # Show the count of background jobs in curly brackets, if not zero job) local -i jobc - while read ; do + while read -r ; do ((jobc++)) done < <(jobs -p) ((jobc)) && printf '{%u}' "$jobc" |