From 4e388e16bd152d35602539381d83f7dca0e71406 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 28 Dec 2016 10:24:27 +1300 Subject: Quiet a shellcheck error Like in 3828a1f, this variable actually does get set before use, but not in a place ShellCheck could be reasonably expected to find --- ksh/kshrc.d/prompt.ksh | 1 + 1 file changed, 1 insertion(+) (limited to 'ksh') diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh index add96b2a..228fd4c5 100644 --- a/ksh/kshrc.d/prompt.ksh +++ b/ksh/kshrc.d/prompt.ksh @@ -192,6 +192,7 @@ function prompt { # Show the count of background jobs in curly brackets, if not zero job) + # shellcheck disable=SC2154 ((jobc)) && printf '{%u}' "$jobc" ;; -- cgit v1.2.3