diff options
author | EuAndreh <eu@euandre.org> | 2022-08-24 19:33:50 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-08-24 19:33:50 -0300 |
commit | a58ea37d21e2cb9e02bcf24f386b623198c50744 (patch) | |
tree | d05a96a6deafe2eb80051444de37ab95082f9e01 | |
parent | etc/sh/rc: Load autojump code (diff) | |
download | dotfiles-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.sh | 2 |
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 |