Get bash prompt working properly