X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.bash_profile;h=58f8c11feb6d225823e0f88a3440683bb7a70054;hb=9e07d4e358e5b0c7e9e9a949fab7293e770af6c5;hp=fcecf152d023d17ed2cb726899c981ed35725862;hpb=4f30260b134841aa54f7eee1a6218358446e2b27;p=profile.git 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