Created
June 9, 2018 23:38
-
-
Save sayfulloev/a3f36a7e3f7fc2aa329088e7957e1818 to your computer and use it in GitHub Desktop.
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
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
source $(brew --prefix)/etc/bash_completion.d/git-completion.bash | |
source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh | |
fi | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[\033[31m\]$(__git_ps1)\[\033[00m\]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment