aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-08-24 19:33:50 -0300
committerEuAndreh <eu@euandre.org>2022-08-24 19:33:50 -0300
commita58ea37d21e2cb9e02bcf24f386b623198c50744 (patch)
treed05a96a6deafe2eb80051444de37ab95082f9e01
parentetc/sh/rc: Load autojump code (diff)
downloaddotfiles-a58ea37d21e2cb9e02bcf24f386b623198c50744.tar.gz
dotfiles-a58ea37d21e2cb9e02bcf24f386b623198c50744.tar.xz
etc/sh/vcs-ps1.sh: Exclude autojump process from job count
-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 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