aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-15 13:31:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-15 13:31:20 +1300
commitfd35c484211f133c72fcf7ad11257f9ba196ab07 (patch)
tree8d9949ac7c1f753346bca18930b4ceea7b47e739
parentProtect PS1 variable expansions (diff)
downloaddotfiles-fd35c484211f133c72fcf7ad11257f9ba196ab07.tar.gz
dotfiles-fd35c484211f133c72fcf7ad11257f9ba196ab07.zip
Remove unneeded read junk var
-rw-r--r--bash/bashrc.d/prompt.bash2
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