diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-15 13:31:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-15 13:31:20 +1300 |
commit | fd35c484211f133c72fcf7ad11257f9ba196ab07 (patch) | |
tree | 8d9949ac7c1f753346bca18930b4ceea7b47e739 | |
parent | Protect PS1 variable expansions (diff) | |
download | dotfiles-fd35c484211f133c72fcf7ad11257f9ba196ab07.tar.gz dotfiles-fd35c484211f133c72fcf7ad11257f9ba196ab07.zip |
Remove unneeded read junk var
-rw-r--r-- | bash/bashrc.d/prompt.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash index df32b9d8..23870d51 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -255,7 +255,7 @@ prompt() { # Show the count of background jobs in curly brackets, if not zero job) local -i jobc - while read -r _ ; do + while read ; do ((jobc++)) done < <(jobs -p) if ((jobc > 0)) ; then |