]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Load .bashrc from .bash_profile for login shells.
authorMaximilian Friedersdorff <maxf130@gmail.com>
Wed, 2 Dec 2015 08:44:43 +0000 (08:44 +0000)
committerMaximilian Friedersdorff <maxf130@gmail.com>
Wed, 2 Dec 2015 08:44:43 +0000 (08:44 +0000)
bash_profile

index 499dc529e380cd89bf02f5c43419de9ffa085af9..84e2c97913f36c189ad453c9cf0864c61099b13b 100644 (file)
@@ -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
+