aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-04 13:52:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-04 13:52:33 +1200
commit82f84fb602b46a332ce91bddd967c5ca10b6ebaf (patch)
tree826870e28ca1b57f4e861aa602cee0c0a4d4097a /bash/bashrc
parentUse consistent [[ syntax (diff)
downloaddotfiles-82f84fb602b46a332ce91bddd967c5ca10b6ebaf.tar.gz
dotfiles-82f84fb602b46a332ce91bddd967c5ca10b6ebaf.zip
No real need to use use test over [...]
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 4e7895c3..9942af24 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -1,5 +1,5 @@
# Ensure we're using at least version 2.05
-if ! test -n "$BASH_VERSINFO" ; then
+if ! [ -n "$BASH_VERSINFO" ] ; then
return
elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) && \
((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then