Created
June 7, 2016 18:42
-
-
Save mariusbutuc/3d9cfaecee4f41ccead7f35a358f9270 to your computer and use it in GitHub Desktop.
git_branch_in_prompt.sh
This file contains hidden or 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
export GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWSTASHSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export PROMPT_COMMAND='__git_ps1 "\t \u@\h:\w" " \\\$ "' | |
export GIT_PS1_SHOWCOLORHINTS=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment