X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bashrc;h=c844bd59a6142da273cd7c1e1f514137cc3d4b2b;hp=d4157fcf0860635b354e3066157f20bc6268c09a;hb=d72851316b4bfb4c3ff56030cefb621df51a5b90;hpb=8c75606a52da5a4df6018134e0806e7041ca69e1 diff --git a/.bashrc b/.bashrc index d4157fc..c844bd5 100644 --- a/.bashrc +++ b/.bashrc @@ -1,3 +1,5 @@ # $Id$ -. /etc/profile -. ~/.bash_profile +if $(tty -s); then + . /etc/profile + . ~/.bash_profile +fi