From 2ca287acb4e8140f55d0b67afd2c477fb6e13e16 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 May 2015 22:26:42 +1200 Subject: Align multiline if conditions --- bash/bashrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bash/bashrc') diff --git a/bash/bashrc b/bash/bashrc index c677d110..fde93050 100644 --- a/bash/bashrc +++ b/bash/bashrc @@ -1,9 +1,9 @@ # Ensure we're using at least version 2.05 if ! test -n "$BASH_VERSINFO" ; then return -elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) \ - && ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then - return +elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) && \ + ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} < 5)) ; then + return fi # Don't do anything if not running interactively @@ -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 # - if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} > 4)) \ - || ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} > 0)) ; then + if ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} > 4)) || \ + ((10#${BASH_VERSINFO[1]%%[![:digit:]]*} > 0)) ; then shopt -s checkjobs fi fi -- cgit v1.2.3