From 7139fb656c460b7fe4946a5cc8ae104b6a0a0872 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 25 Jun 2013 13:03:34 +1200 Subject: Nice syntax for AND --- sh/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sh/profile') diff --git a/sh/profile b/sh/profile index b35cfb7a..a81d12e0 100644 --- a/sh/profile +++ b/sh/profile @@ -19,5 +19,5 @@ then fi # If running Bash, try to run .bashrc -[ -n "$BASH" ] && [ -e "$HOME/.bashrc" ] && . $HOME/.bashrc +[ -n "$BASH" -a -e "$HOME/.bashrc" ] && . $HOME/.bashrc -- cgit v1.2.3