Created
May 10, 2017 18:45
-
-
Save ali5h/af765c0a19878b18fd0e93f1ccc7cd2f to your computer and use it in GitHub Desktop.
Git prompt for bash
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 PS1='\[\033]0;$TITLEPREFIX:${PWD//[^[:ascii:]]/?}\007\]\n\[\033[32m\]\u@\h \[\033[35m\]$MSYSTEM \[\033[33m\]\w\[\033[36m\]`__git_ps1`\[\033[0m\]\n$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment