X-Git-Url: http://git.iain.cx/?p=profile.git;a=blobdiff_plain;f=.bash_profile;h=58f8c11feb6d225823e0f88a3440683bb7a70054;hp=fcecf152d023d17ed2cb726899c981ed35725862;hb=42b87d14b952594606783e373badd8aca1b1eb8f;hpb=4f30260b134841aa54f7eee1a6218358446e2b27 diff --git a/.bash_profile b/.bash_profile old mode 100755 new mode 100644 index fcecf15..58f8c11 --- 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