diff options
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc index e8348317..b8ecec01 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -21,9 +21,9 @@ if [ -n "$ENV" ] ; then . "$ENV" fi -# Ensure we're using at least version 3.0. -[ -n "$BASH_VERSINFO" ] || return -((BASH_VERSINFO[0] >= 3)) || return +# Ensure we're using at least version 3.0 +[ -n "$BASH_VERSINFO" ] || return # Check version array exists (>=2.0) +((BASH_VERSINFO[0] >= 3)) || return # Check actual major version number # Clear away command_not_found_handle if a system bashrc file set it up unset -f command_not_found_handle |