X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bash_profile;h=58f8c11feb6d225823e0f88a3440683bb7a70054;hp=81a58de3cac320fe31f1026df1cfef52a7829fa8;hb=42b87d14b952594606783e373badd8aca1b1eb8f;hpb=398f1984b032f64f514814f4b6e6067f6326650c 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