dotfiles/bashrc

42 lines
1.1 KiB
Bash

# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
# I had problems with the backspace key using 'eval tset' instead of 'TERM=',
# but you might want to try it anyway instead of the section below it. I
# think with the right /etc/termcap it would work.
# eval `tset -sQ "$TERM"`
# Set TERM to linux for unknown type or unset variable:
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
TERM=linux
fi
# Notify user of incoming mail. This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
biff y 2> /dev/null
fi
# Append any additional sh scripts found in /etc/profile.d/:
for profile_script in /etc/profile.d/*.sh ; do
if [ -x $profile_script ]; then
. $profile_script
fi
done
unset profile_script
source ~/.bash_aliases
#Green Prompt
#PS1='\[\e[0;32m\]\u\[\e[31m\] % \[\e[0;32m\]\h \[\e[1;33m\]\w\[\e[0;32m\]\$ '
#Blue Prompt
PS1='\[\e[1;94m\]\u\[\e[0m\] % \[\e[1;91m\]\h \[\e[1;93m\]\w\[\e[1;34m\] $ \e[0m'
export EDITOR=/usr/bin/emacs
export MAKEFLAGS=-j9
ESC="\033"
NORMAL="\[$ESC[m\]"
RESET="\[$ESC[${DULL};${FG_WHITE};${BG_NULL}m\]"