TeeAhr1 /.aliases

Nothing radical in here.
## ~/.aliases ##
# called by .bashrc to provide aliases 

# this fixes sudo for aliases and functions in ubuntu 8.04 or prior
# (dunno about other distros or later versions)
# still not sure why this works, but thx to SEMW from ubuntuforums
alias sudo='sudo '

# take me home!
alias ~="cd ~"

# color ls and grep if the terminal will do it
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
    eval "`dircolors -b`"
    alias ls='ls --color=auto'
    alias grep='grep --color=auto'
    alias fgrep='fgrep --color=auto'
    alias egrep='egrep --color=auto'
fi

# more ls aliases
alias ll='ls -lhA'  # list all, long format with sizes
alias la='ls -A'    # list all
alias lx='ls -X'    # sort by extension
alias lS='ls -S'    # sort by size
alias lt='ls -tr'   # sort by mod time, newest first
alias lr='ls -R'    # recursive

# human readable units because we are humans
alias du='du -h'
alias df='df -h'

#cp should always recurse
alias cp='cp -r'

# aptitude
if [ -f /usr/bin/aptitude ]; then
    alias aptup='aptitude update'
    alias aptU='aptitude full-upgrade'
    alias inst='aptitude install'
    alias remp='aptitude purge'
    alias search='apt-cache search'
    alias show='apt-cache show'
fi

# e is for emacs!
alias e=$EDITOR

# Find & delete all backup files
alias sweep='find . \( -name "*~" -or -name "*.bak" -or -name "#*#" \) -exec rm -v -i {} \;'