Created
March 3, 2016 00:50
-
-
Save calimaborges/865f36eb2d6cc01feac2 to your computer and use it in GitHub Desktop.
PS1
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
| alias __git_ps1="git branch 2>/dev/null | grep '*' | sed 's/* \(.*\)/(\1)/'" | |
| export CLICOLOR=1 | |
| #export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx | |
| export LSCOLORS=ExFxCxDxBxegedabagacad | |
| RESET="\[\017\]" | |
| NORMAL="\[\033[0m\]" | |
| USER_COLOR="\[\033[1;32m\]" | |
| DIR_COLOR="\[\033[1;35m\]" | |
| GIT_COLOR="\[\033[1;33m\]" | |
| PROMPT_COLOR="\[\033[1;31m\]" | |
| PS1="${RESET}${USER_COLOR}\u ${DIR_COLOR}\W ${GIT_COLOR}\$(__git_ps1) ${PROMPT_COLOR}\$${NORMAL} " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment