X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.bash_profile;h=e905a8665a1222b89b75ea4e31e5398a187c0e05;hb=2da9ea6da645cdb26ca23d12f7f52c60351f3a4c;hp=81a58de3cac320fe31f1026df1cfef52a7829fa8;hpb=398f1984b032f64f514814f4b6e6067f6326650c;p=profile.git diff --git a/.bash_profile b/.bash_profile index 81a58de..e905a86 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,5 +1,7 @@ -# $Id$ -if $(tty -s) || $(shopt -q login_shell); then - for i in ~/.profile.d/*.bashrc; do . $i; done +#echo "$(date +'%F %T'): pid: $$; ppid: $PPID; tty: $(tty); .bash_profile" >> ~/.nx/spam +if $(tty -s) || [ "${0:0:1}" = "-" ]; then + for i in ~/.profile.d/*.bashrc; do . $i; done; unset i __ps1 fi +#export IP01=.bash_profile +#export IP01BASH_PROFILE=.bash_profile