alias e='elinks'
alias g='git'
alias m='mutt'
+alias p='less' # p for pager
+alias s='mpc' # s for sound, m is already used
alias v='vim'
alias vi='vim'
# Normal ls with colors.
elif [ x$ls_color = xcli ]; then
ls() {
- CLICOLOR_FORCE=1 my_ls $*
+ CLICOLOR_FORCE=1 my_ls -G $*
}
# Simple ls with no colors.
else
la() {
ls -a $*
}
-# Helper function to list all files in list format with access rights, etc.
+# Helper function to list the files in list format with access rights, etc.
ll() {
+ ls -l $*
+}
+# Helper function to list all files in list format with access rights, etc.
+lal() {
la -l $*
}
+# Make going up directories simple.
+alias ..='cd ..'
+alias ...='cd ../..'
+alias ....='cd ../../..'
+alias .....='cd ../../../..'
+
# I sometimes confuse editor and shell, print a warning to prevent I exit the
# shell.
alias :q='echo "This is not Vim!" >&2'