Last active
December 19, 2015 22:59
-
-
Save joyrexus/6031830 to your computer and use it in GitHub Desktop.
Git-enhanced prompt and tab-completion for bash.
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
. /usr/local/etc/bash_completion # tab completion | |
. /usr/local/etc/bash_completion.d/git-prompt.sh # git-enhanced prompt | |
GREEN="\[\033[0;32m\]" | |
ORANGE="\[\033[0;33m\]" | |
BLUE="\[\033[0;34m\]" | |
RESET="\[\033[0m\]" | |
PS1="${GREEN}\w${BLUE}\$(__git_ps1 ':%s')${ORANGE}⚡${RESET} " # show git branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment