aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-06-25 13:03:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-06-25 13:03:34 +1200
commit7139fb656c460b7fe4946a5cc8ae104b6a0a0872 (patch)
tree2af9f24ccfbdb66b94a855357e7dfbcc0254714e /sh
parentUpdating Vim submodules (diff)
downloaddotfiles-7139fb656c460b7fe4946a5cc8ae104b6a0a0872.tar.gz
dotfiles-7139fb656c460b7fe4946a5cc8ae104b6a0a0872.zip
Nice syntax for AND
Diffstat (limited to 'sh')
-rw-r--r--sh/profile2
1 files changed, 1 insertions, 1 deletions
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