- Clone Git Prompt support
https://github.com/jimeh/git-aware-promptto~/.bash/(~/.bash/git-aware-prompt/) - Add enclosed Mercurial Prompt support to
~/.bash/(~/.bash/hg_prompt.sh) - Integrate both into your
~/.bash_profilewith:
# git prompt
export GITAWAREPROMPT=~/.bash/git-aware-prompt
source "${GITAWAREPROMPT}/main.sh"