Clean up bash prompt code