diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-21 09:55:59 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-10-21 09:55:59 +1300 |
commit | e11d5698c4da7f8e9b104415a557003c3a3b4f69 (patch) | |
tree | e2b0e5c0eb61288ff34a98e5663982418dd3bb1b /bash/bashrc | |
parent | Refine definition of local var (diff) | |
download | dotfiles-e11d5698c4da7f8e9b104415a557003c3a3b4f69.tar.gz dotfiles-e11d5698c4da7f8e9b104415a557003c3a3b4f69.zip |
More explicitly use test builtin for version test
Diffstat (limited to 'bash/bashrc')
-rw-r--r-- | bash/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc index 4b37f7cb..2caa80c5 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,5 +1,5 @@ # Give up completely if no BASH_VERSINFO (<2.0) -if ! [ "$BASH_VERSINFO" ] ; then +if ! test "$BASH_VERSINFO" ; then return fi |