diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-28 10:24:27 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-28 10:25:26 +1300 |
commit | 4e388e16bd152d35602539381d83f7dca0e71406 (patch) | |
tree | 588484c3fede320ce51698f4ec0dded37fc17ff5 /ksh | |
parent | Put operating system into OS env var (diff) | |
download | dotfiles-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.ksh | 1 |
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" ;; |