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