From fb0b1715b71ca7fcac787301b91afc8226bb1e1e Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 2 Dec 2015 08:44:43 +0000 Subject: [PATCH] Load .bashrc from .bash_profile for login shells. --- bash_profile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bash_profile b/bash_profile index 499dc52..84e2c97 100644 --- a/bash_profile +++ b/bash_profile @@ -7,3 +7,11 @@ export PATH="$PATH:/home/max/bin:$NPM_PACKAGES/bin:$HOME/.rvm/bin" unset MANPATH MANPATH="$NPM_PACKAGES/share/man:$(manpath)" NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH" + +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + -- 2.45.2