From Augix' Wiki
# ssh connections
# ssh tunnel
# bash
if [ -n "$PS1" ]; then PS1='[\h:\w \u] '; fi
#alias vi='vim'
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
# enhance unix command
## cd
alias ..='cd ..'
alias ...='cd ../..'
## ls (in mac os x)
alias l='ls -alhFG'
alias l.='ls -d .* -G'
alias ll='ls -l -G'
#alias ls='ls -G'
# env variables
PATH=~/bin/:~/bin/apt/bin/:~/bin/R/bin/:$PATH
R_LIBS=~/Library/R/
export PATH R_LIBS
# special command
alias tree="ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'"