diff options
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc index 98b7a017..130a030e 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -223,7 +223,7 @@ function prompt { # Job count prompt function. jobs) - [[ -n "$(jobs)" ]] && printf '{%d}' $(jobs | wc -l | sed 's/ //g') + [[ -n "$(jobs)" ]] && printf '{%d}' $(jobs | sed -n '$=') ;; esac } |