aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-08 17:54:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-08 17:54:31 +1200
commit4bb2b6e0261156604e8e5aa875d93a7ec527b100 (patch)
tree73fc95e7d976c5619224cad9862be9e24f0ebe2e /bash/bashrc
parentRemove unnecessary IFS definition (diff)
downloaddotfiles-4bb2b6e0261156604e8e5aa875d93a7ec527b100.tar.gz
dotfiles-4bb2b6e0261156604e8e5aa875d93a7ec527b100.zip
Tidy up line-split conditional
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index f2d32558..fae8d641 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -78,8 +78,8 @@ if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} >= 4)) ; then
# Warn me about stopped jobs when exiting; only if >=4.1 due to bug
# <https://lists.gnu.org/archive/html/bug-bash/2009-02/msg00176.html>
if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} > 4)) || \
- ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} > 0)) ; then
- shopt -s checkjobs
+ ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} >= 1)) ; then
+ shopt -s checkjobs
fi
fi