aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-03-29 15:12:39 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-03-29 15:12:39 +1300
commit8427c06262a075820dc91133a2be242690197b85 (patch)
tree1e48dc8ce085c28576ff4c31704ec5a1714e36a7
parentAdd lgt() (diff)
downloaddotfiles-8427c06262a075820dc91133a2be242690197b85.tar.gz
dotfiles-8427c06262a075820dc91133a2be242690197b85.zip
Remove SC2154 ignore for $.sh from ksh startup
<https://github.com/koalaman/shellcheck/commit/7124c113e8ead22916b91eb3fea1e7251b91f422>
-rw-r--r--ksh/shrc.d/ksh.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/ksh/shrc.d/ksh.sh b/ksh/shrc.d/ksh.sh
index 6101fc84..aa5c4cbc 100644
--- a/ksh/shrc.d/ksh.sh
+++ b/ksh/shrc.d/ksh.sh
@@ -21,7 +21,6 @@ if [ -z "$KSH_VERSION" ] ; then
# Test whether we have content in the .sh.version variable. Suppress errors
# and run it in a subshell to work around parsing error precedence.
- # shellcheck disable=SC2154
( test -n "${.sh.version}" ) 2>/dev/null || return
# If that peculiarly named variable was set, then that's our KSH_VERSION