Created
October 12, 2017 21:42
-
-
Save lauren/789cf9d2a516a05fc58117d30cedbd15 to your computer and use it in GitHub Desktop.
pretty git prompt
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
output: application (master) ⛸️ | |
PS1='\e[0;35m\W\e[m$(__git_ps1 " \e[0;32m(%s)")\e[m ⛸️ ' | |
For use with: https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh | |
Prompt prettiness references: | |
* data: https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html | |
* color: https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment