aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-27 02:29:18 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-27 02:29:18 +1300
commit3828a1ff720dd08823d91ef0fb237540f1754bea (patch)
tree447e627f51f547bcf89fd83edea9b8b0a2241799 /zsh
parent90dcadfb2e6e82b7d5e9bdbac2c109433f70caf7 (diff)
downloaddotfiles-3828a1ff720dd08823d91ef0fb237540f1754bea.tar.gz
Tell ShellCheck to ignore an error
ret actually is assigned, just not in any place ShellCheck could reasonably be expected to find
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc.d/prompt.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/zshrc.d/prompt.zsh b/zsh/zshrc.d/prompt.zsh
index 27db61cb..898031ea 100644
--- a/zsh/zshrc.d/prompt.zsh
+++ b/zsh/zshrc.d/prompt.zsh
@@ -178,6 +178,7 @@ prompt() {
# Show return status of previous command in angle brackets, if not zero
ret)
+ # shellcheck disable=SC2154
((ret)) && printf '<%u>' "$ret"
;;