From a553ab90d82cee281b135331806126466c547b94 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 10 Sep 2013 14:19:57 +1200 Subject: Use _ to prevent polluting namespace --- 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 6864ce19..f3f1416f 100644 --- a/bash/bashrc.d/prompt.bash +++ b/bash/bashrc.d/prompt.bash @@ -184,7 +184,7 @@ prompt() { # Show the count of background jobs in curly brackets job) local jobc=0 - while read -r line; do + while read -r _; do ((jobc++)) done < <(jobs) if ((jobc > 0)); then -- cgit v1.2.3