diff options
-rw-r--r-- | bash/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc index a4706284..088182ef 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -14,7 +14,7 @@ esac # shellcheck disable=SC2128 [ -n "$BASH_VERSINFO" ] || return ((BASH_VERSINFO[0] == 2)) && - ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) && + ((10#${BASH_VERSINFO[1]%%[!0-9]*} < 5)) && return # Don't do anything if running a restricted shell |