Refactor bash prompt making cleaner