refactor bash_prompt to enable configuration
massive refactor