Refactor bash prompt