Last active
December 11, 2015 23:48
-
-
Save fernandoflorez/4679388 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
Color_Off="\[\033[0m\]" # text reset | |
IBlack="\[\033[0;90m\]" # black | |
IRed="\[\033[0;91m\]" # red | |
IGreen="\[\033[0;92m\]" # green | |
IYellow="\[\033[0;93m\]" # yellow | |
# time vars | |
Time12h="\T" | |
PathShort="\w" | |
export GIT_PS1_SHOWDIRTYSTATE=true | |
export GIT_PS1_SHOWUNTRACKEDFILES=true | |
export GIT_PS1_SHOWSTASHSTATE=true | |
export PS1="${IBlack}${Time12h}${Color_Off} \$(declare -F __git_ps1 &>/dev/null && __git_ps1 '(%s) ')${IYellow}${PathShort}${Color_Off} \$ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment