# Push and pop directories on directory stack alias pu='pushd' alias po='popd' # Basic directory operations alias ...='cd ../..' alias -- -='cd -' # Super user alias _='sudo' #alias g='grep -in' # Show history alias history='fc -l 1' # Enable ls colors LS_OPTIONS='-hF' if [ "$DISABLE_LS_COLORS" != "true" ] then # Find the option for using colors in ls, depending on the version: Linux or BSD ls --color -d . &>/dev/null 2>&1 && alias ls="ls --color=tty $LS_OPTIONS" || alias ls="ls -G $LS_OPTIONS" fi # List direcory contents alias lsa='ls -lah' alias l='ls -la' alias ll='ls -l' alias sl=ls # often screw this up alias afind='ack-grep -il'