aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-28 10:24:27 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-28 10:25:26 +1300
commit4e388e16bd152d35602539381d83f7dca0e71406 (patch)
tree588484c3fede320ce51698f4ec0dded37fc17ff5 /ksh
parent69eb30cae4f4c8d086fab09bbf78922da6ca5e42 (diff)
downloaddotfiles-4e388e16bd152d35602539381d83f7dca0e71406.tar.gz
dotfiles-4e388e16bd152d35602539381d83f7dca0e71406.zip
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
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh1
1 files changed, 1 insertions, 0 deletions
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"
;;