Added supplemental bashrc script
This commit is contained in:
parent
5ddccd131d
commit
5c21745d7d
1 changed files with 43 additions and 0 deletions
43
bash.bashrc
Executable file
43
bash.bashrc
Executable file
|
@ -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"
|
Loading…
Add table
Add a link
Reference in a new issue