adding more powerline conditionals to avoid using powerline prompt in certain situations