Last active
October 11, 2015 15:48
-
-
Save prasanthj/3882592 to your computer and use it in GitHub Desktop.
Console color and Bash prompt login@hostname color
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
#console colors | |
export CLICOLOR=1 | |
export LSCOLORS=GaFxCxDxBxegedabagacad | |
# Custom bash prompt via kirsle.net/wizards/ps1.html | |
export PS1="\[$(tput bold)\]\[$(tput setaf 3)\][\[$(tput setaf 2)\]\u\[$(tput setaf 1)\]@\[$(tput setaf 6)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 3)\]\$(__git_ps1)]$ \[$(tput sgr0)\]" | |
# git completion | |
if [ -f `brew --prefix`/etc/bash_completion ]; then | |
. `brew --prefix`/etc/bash_completion | |
fi | |
source ~/.git-prompt.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment