aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;