# .bashrc

# User specific aliases and functions

echo "Hello again"

#Specify prompt
PS1='\[\e[0;34m\][\A]\[\e[m\] \[\e[1;30m\]Veatch MacBook\[\e[m\] \[\e[1;31m\]\u\[\e[m\] \[\e[1;34m\]\W\[\e[m\] \[\e[0;35m\]\$\[\e[m\] \[\e[0m\]'

umask 022

# Do *not* append the following to our history: consecutive duplicate
# commands, ls, bg and fg, and exit
# Don't keep useless history commands. Note the last pattern is to not
# keep dangerous commands in the history file.  Who really needs to
# repeat the shutdown(8) command accidentally from your command
# history?
HISTIGNORE='\&:fg:bg:ls:pwd:cd ..:cd ~-:cd -:cd:jobs:set -x:ls -l:ls -l'
HISTIGNORE=${HISTIGNORE}':%1:%2:popd:top:pine:mutt:shutdown*'
export HISTIGNORE

# Disk is cheap. Memory is cheap. My memory isn't! Keep a lot of
# history by default. 10K lines seems to go back about 6 months, and
# captures all of the wacky one-off shell scripts that I might want
# again later.
export HISTSIZE=10000
export HISTFILESIZE=${HISTSIZE}

# Reduce redundancy in the history file
export HISTCONTROL=ignoredups

alias c="clear"
alias ~="cd ~"
alias ..="cd .."
alias root='root -l'
alias rm='rm -i'
alias vi='vim'
alias ci='vi'
alias du='du -h'

export CLICOLOR=YES
export LSCOLORS="Gxfxcxdxbxegedabagacad"

