X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.bash_profile;h=58f8c11feb6d225823e0f88a3440683bb7a70054;hb=a1c55a38fb1629ac6886b900f6de5083582d1b6b;hp=81a58de3cac320fe31f1026df1cfef52a7829fa8;hpb=398f1984b032f64f514814f4b6e6067f6326650c;p=profile.git diff --git a/.bash_profile b/.bash_profile index 81a58de..58f8c11 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,5 @@ # $Id$ -if $(tty -s) || $(shopt -q login_shell); then - for i in ~/.profile.d/*.bashrc; do . $i; done +if $(tty -s) || [ "${0:0:1}" = "-" ]; then + for i in ~/.profile.d/*.bashrc; do . $i; done; unset i __ps1 fi