From: Simon Ruderich Date: Sat, 9 Feb 2013 20:55:11 +0000 (+0100) Subject: shell/aliases: Use aliases for ll, la, lal. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=45615a9566f0eb21ae0a7b1875cc6726fb749bb1;p=config%2Fdotfiles.git shell/aliases: Use aliases for ll, la, lal. --- diff --git a/shell/aliases.in b/shell/aliases.in index 55f02fe..f86eba8 100644 --- a/shell/aliases.in +++ b/shell/aliases.in @@ -46,18 +46,13 @@ ls() { LS_ENV LS_PATH LS_COLOR -C -F "$@" 2>&1 | less } -# Helper function to list all files. -la() { - ls -a "$@" -} -# 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 "$@" -} +unalias ll la lal 2> /dev/null +# List the files in list format with access rights, etc. +alias ll='ls -l' +# List all files. +alias la='ls -a' +# List all files in list format with access rights, etc. +alias lal='ls -al' # Make going up directories simple.