43 lines
1.3 KiB
Text
Executable file
43 lines
1.3 KiB
Text
Executable file
# 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$RESET:$D_WHITE\u$RESET@$D_MAGENTA\h$RESET:$B_BLUE\w$YELLOW\$(__git_ps1)$D_WHITE\$ $RESET"
|