-# $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