elliottcable /etc/prompt

The quintessential random's global prompt ||| http://elliottcable.name/
# Created by elliottcable (elliottcable.name)
# Licensed as Creative Commons BY-NC-SA 3.0 (creativecommons.org/licenses/by-nc-sa/3.0)
# -------------------------------------
# A bash configuration file to set up my prompt. Included by /etc/bashrc at bash launch.

# PS1='\h:\w \u\$ ' #Default

# Colors
CLEAR='\e[00m'
N='\n'

BLACK='\e[0;30m'
RED='\e[0;31m'
GREEN='\e[0;32m'
YELLOW='\e[0;33m'
BLUE='\e[0;34m'
PURPLE='\e[0;35m'
CYAN='\e[0;36m'
WHITE='\e[0;37m'

BLACK_BOLD='\e[1;30m'
RED_BOLD='\e[1;31m'
GREEN_BOLD='\e[1;32m'
YELLOW_BOLD='\e[1;33m'
BLUE_BOLD='\e[1;34m'
PURPLE_BOLD='\e[1;35m'
CYAN_BOLD='\e[1;36m'
WHITE_BOLD='\e[1;37m'

# Colors, width-count escaped (I think?)
CLEAR_E='\[\e[00m\]'
N_E='\[\n\]'

BLACK_E='\[\e[0;30m\]'
RED_E='\[\e[0;31m\]'
GREEN_E='\[\e[0;32m\]'
YELLOW_E='\[\e[0;33m\]'
BLUE_E='\[\e[0;34m\]'
PURPLE_E='\[\e[0;35m\]'
CYAN_E='\[\e[0;36m\]'
WHITE_E='\[\e[0;37m\]'

BLACK_BOLD_E='\[\e[1;30m\]'
RED_BOLD_E='\[\e[1;31m\]'
GREEN_BOLD_E='\[\e[1;32m\]'
YELLOW_BOLD_E='\[\e[1;33m\]'
BLUE_BOLD_E='\[\e[1;34m\]'
PURPLE_BOLD_E='\[\e[1;35m\]'
CYAN_BOLD_E='\[\e[1;36m\]'
WHITE_BOLD_E='\[\e[1;37m\]'

Y='--'
N='--'
SS='$(echo `case $? in 0) echo "\e[0;32m$Y\e[00m";; *) echo "\e[0;31m$N\e[00m";; esac`)'
SS_E='$(echo `case $? in 0) echo "\[\e[0;32m\]$Y\[\e[00m\]";; *) echo "\[\e[0;31m\]$N\[\e[00m\]";; esac`)'
# With indicator
PS1="$WHITE_BOLD_E[$YELLOW_E\d$WHITE_BOLD_E - $YELLOW_E\t$WHITE_BOLD_E] [$YELLOW_E\u$YELLOW_BOLD_E @ $YELLOW_E\h$WHITE_BOLD_E] [$YELLOW_E\w/$WHITE_BOLD_E]\n$SS_E$CLEAR_E "
export PS1