From 45615a9566f0eb21ae0a7b1875cc6726fb749bb1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 9 Feb 2013 21:55:11 +0100 Subject: [PATCH] shell/aliases: Use aliases for ll, la, lal. --- shell/aliases.in | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) 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. -- 2.45.2