From: Jannik ZANDER Date: Tue, 3 May 2016 21:27:40 +0000 (+0200) Subject: Cosmetic .profile update X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=22d76f8e6ee69b2ea9438a09ab4f484f1c2ddee9;p=dotfiles.git Cosmetic .profile update --- 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