Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 99fd5d6cba07218660ad180d8f6dbfd003b9ca7c 1 parent de5e14c
isaacs authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 .bashrc
6 .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
Please sign in to comment.
Something went wrong with that request. Please try again.