From fd35c484211f133c72fcf7ad11257f9ba196ab07 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 15 Mar 2016 13:31:20 +1300 Subject: Remove unneeded read junk var --- bash/bashrc.d/prompt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') 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 -- cgit v1.2.3