From a58ea37d21e2cb9e02bcf24f386b623198c50744 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 24 Aug 2022 19:33:50 -0300 Subject: etc/sh/vcs-ps1.sh: Exclude autojump process from job count --- etc/sh/vcs-ps1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sh/vcs-ps1.sh b/etc/sh/vcs-ps1.sh index d18a24a..b9a849a 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 -p | wc -l)" + JOBS="$(jobs | grep -v autojump | wc -l)" if [ "$JOBS" != 0 ]; then color -c red "$JOBS" fi -- cgit v1.2.3