Make bash prompt stuff work nicely with zsh

Moved common stuff to a .profile file