aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-03 20:05:55 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-03 20:05:55 +1300
commitc4142ecf07193ee919628c32d91810fe6457e331 (patch)
tree840b2fe1c068424890f1320237e93b1799be69a9 /bash/bashrc
parentCorrect copypaste error (diff)
downloaddotfiles-c4142ecf07193ee919628c32d91810fe6457e331.tar.gz
dotfiles-c4142ecf07193ee919628c32d91810fe6457e331.zip
Soothe a shellcheck error
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 4ca8b176..3070c00c 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -6,6 +6,7 @@ esac
# Don't do anything if restricted, not even sourcing the ENV file
# Testing $- for "r" doesn't work
+# shellcheck disable=SC2128
[ -n "$BASH_VERSINFO" ] && shopt -q restricted_shell && return
# If ENV is set, source it to get all the POSIX-compatible interactive stuff;