Permalink
Browse files

Don't load the extras if it's not a proper login shell

  • Loading branch information...
1 parent de5e14c commit 99fd5d6cba07218660ad180d8f6dbfd003b9ca7c @isaacs committed Jun 9, 2010
Showing with 4 additions and 2 deletions.
  1. +4 −2 .bashrc
View
@@ -1,2 +1,4 @@
-DOT_BASHRC_LOADED=1
-! [ "$DOT_PROFILE_LOADED" == "1" ] && . ~/.profile
+if ! [ "$PS1" == "" ]; then
+ DOT_BASHRC_LOADED=1
+ ! [ "$DOT_PROFILE_LOADED" == "1" ] && . ~/.profile
+fi

0 comments on commit 99fd5d6

Please sign in to comment.