From 5c21745d7ddbbafb8634b97076951536bc8138ea Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Sat, 3 Dec 2011 00:01:48 -0500 Subject: [PATCH] Added supplemental bashrc script --- bash.bashrc | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 bash.bashrc diff --git a/bash.bashrc b/bash.bashrc new file mode 100755 index 0000000..7c884de --- /dev/null +++ b/bash.bashrc @@ -0,0 +1,43 @@ +# To use, simply add the following to /etc/bash.bashrc or ~/.bashrc +# +# if [ -f /path/to/this/bash.bashrc ] && ! shopt -oq posix; then +# . /path/to/this/bash.bashrc +# fi + +export PATH="$HOME/Source/bash:$PATH" +export EDITOR=vim + +export GIT_PS1_SHOWDIRTYSTATE=true + +# Regular Colors +export BLACK="\[\033[0;30m\]" +export RED="\[\033[0;31m\]" +export GREEN="\[\033[0;32m\]" +export YELLOW="\[\033[0;33m\]" +export BLUE="\[\033[0;34m\]" +export MAGENTA="\[\033[0;35m\]" +export CYAN="\[\033[0;36m\]" +export WHITE="\[\033[0;37m\]" +export RESET="\[\033[0;38m\]" + +# Bold Colors +export B_BLACK="\[\033[1;30m\]" +export B_RED="\[\033[1;31m\]" +export B_GREEN="\[\033[1;32m\]" +export B_YELLOW="\[\033[1;33m\]" +export B_BLUE="\[\033[1;34m\]" +export B_MAGENTA="\[\033[1;35m\]" +export B_CYAN="\[\033[1;36m\]" +export B_WHITE="\[\033[1;37m\]" + +# Darker Colors +export D_BLACK="\[\033[2;30m\]" +export D_RED="\[\033[2;31m\]" +export D_GREEN="\[\033[2;32m\]" +export D_YELLOW="\[\033[2;33m\]" +export D_BLUE="\[\033[2;34m\]" +export D_MAGENTA="\[\033[2;35m\]" +export D_CYAN="\[\033[2;36m\]" +export D_WHITE="\[\033[2;37m\]" + +export PS1="$GREEN\t $D_WHITE\u$RESET@$D_MAGENTA\h $B_BLUE\w$YELLOW\$(__git_ps1)\n$D_WHITE\$ $RESET"