Last active
August 29, 2015 14:15
-
-
Save amercier/3ba0a14fbafb7e2067b4 to your computer and use it in GitHub Desktop.
terminal.sh
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
#!/usr/bin/env bash | |
# Colors: http://mediadoneright.com/content/ultimate-git-ps1-bash-prompt | |
export TERM=xterm-color | |
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export COLOR_NC='\e[0m' # No Color | |
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc" | |
[ -f "$HOME/.bash_aliases" ] && . "$HOME/.bash_aliases" | |
export GIT_PS1_DESCRIBE_STYLE=branch | |
export GIT_PS1_SHOWCOLORHINTS=1 | |
export GIT_PS1_SHOWDIRTYSTATE=1 | |
export GIT_PS1_SHOWSTASHSTATE=1 | |
export GIT_PS1_SHOWUNTRACKEDFILES=1 | |
export GIT_PS1_SHOWUPSTREAM="verbose git" | |
export GIT_PS1_STATESEPARATOR="" | |
export PROMPT_COMMAND="__git_ps1 '[\u@\h \[\033[1;36m\]\w\[\033[0m\] ' ']\$ ' '%s'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment