From 22d76f8e6ee69b2ea9438a09ab4f484f1c2ddee9 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Tue, 3 May 2016 23:27:40 +0200 Subject: [PATCH] Cosmetic .profile update --- .profile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.profile b/.profile index 4483987..c39cf65 100644 --- a/.profile +++ b/.profile @@ -5,8 +5,7 @@ # # if running bash if [ -n "${BASH_VERSION}" ]; then - if [ -f "${HOME}/.bashrc" ]; then - source "${HOME}/.bashrc" - fi + # source the users bashrc if it exists + [ -f "${HOME}/.bashrc" ] && source "${HOME}/.bashrc fi -- 2.43.0