# if we're in a gnome-terminal, enable 256 color and the ubuntu color-prompt
if [[ TERM=="xterm" && COLORTERM==gnome* ]] ; then
    export TERM="xterm-256color"
    color_prompt=yes
fi

# Prepend the date and time in the prompt
PS1="\d \t $PS1"

# set the locale for mosh?
export LC_ALL=en_US.iso88591

# set ls color output
eval `dircolors`
if ! grep 'PS1="\\d \\t $PS1"' ~/.bashrc; then echo 'PS1="\d \t $PS1"' >> ~/.bashrc; fi
if ! grep 'eval `dircolors`' ~/.bashrc; then echo 'eval `dircolors`' >> ~/.bashrc; fi
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '