Created
July 1, 2016 14:06
-
-
Save srstanic/8161470ece4e0353c57af7bb9194e7ad to your computer and use it in GitHub Desktop.
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
PS1='\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h: \[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;15m\] \\$\[$(tput sgr0)\] ' | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
source /usr/local/git/contrib/completion/git-completion.bash | |
source /usr/local/git/contrib/completion/git-prompt.sh | |
GIT_PS1_SHOWDIRTYSTATE=true | |
PS1='\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h: \[$(tput sgr0)\]\[\033[38;5;6m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]\[$(tput sgr0)\]\[\033[38;5;13m\]$(__git_ps1 " (%s)")\[$(tput sgr0)\]\[\033[38;5;15m\] \\$\[$(tput sgr0)\] ' | |
fi | |
export PS1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment