X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bash_profile;h=58f8c11feb6d225823e0f88a3440683bb7a70054;hp=fcecf152d023d17ed2cb726899c981ed35725862;hb=42b87d14b952594606783e373badd8aca1b1eb8f;hpb=ccd9a2392417e22f770ba7d7eec7cfc5d997a799 diff --git a/.bash_profile b/.bash_profile index fcecf15..58f8c11 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,7 +1,5 @@ # $Id$ -for i in ~/.profile.d/*.bashrc; do . $i; done -__ps1 - -if [ "$OSTYPE" = "cygwin" ]; then - shopt -s nocaseglob +if $(tty -s) || [ "${0:0:1}" = "-" ]; then + for i in ~/.profile.d/*.bashrc; do . $i; done; unset i + __ps1 fi