Created
October 31, 2017 16:54
-
-
Save partageit/94eac68e43bc882eaaaf06b6f803d790 to your computer and use it in GitHub Desktop.
My bash-git-prompt configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git prompt, for ~/.bashrc | |
GIT_PROMPT_ONLY_IN_REPO=1 | |
GIT_PROMPT_START_USER="\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]" | |
GIT_PROMPT_START_ROOT="${BoldRed}\u@\h${ResetColor}:${BoldBlue}\w${ResetColor}" | |
GIT_PROMPT_END_USER="\n$ " | |
GIT_PROMPT_END_ROOT="\n# " | |
source ~/.bash-git-prompt/gitprompt.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment