aboutsummaryrefslogtreecommitdiff
path: root/etc/sh/vcs-ps1.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sh/vcs-ps1.sh')
-rw-r--r--etc/sh/vcs-ps1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/sh/vcs-ps1.sh b/etc/sh/vcs-ps1.sh
index b9a849a..7cc528d 100644
--- a/etc/sh/vcs-ps1.sh
+++ b/etc/sh/vcs-ps1.sh
@@ -128,7 +128,7 @@ shell_status_level() {
}
shell_status_jobs() {
- JOBS="$(jobs | grep -v autojump | wc -l)"
+ JOBS="$(jobs | grep -c autojump)"
if [ "$JOBS" != 0 ]; then
color -c red "$JOBS"
fi