From: Simon Ruderich Date: Sun, 16 Mar 2014 15:19:18 +0000 (+0100) Subject: shell/aliases: remove space before > in redirections X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=37e0c5a9d5555aacac64ccfc74a385346a5b63c2 shell/aliases: remove space before > in redirections --- diff --git a/shell/aliases.in b/shell/aliases.in index 0c54b39..02ad5ec 100644 --- a/shell/aliases.in +++ b/shell/aliases.in @@ -42,7 +42,7 @@ alias cp='cp -i -a' # Make sure there is no alias named ls as it causes problems with the # following ls function on (at least) bash 4.0.35. -unalias ls 2> /dev/null +unalias ls 2>/dev/null # Improved ls which displays the files in columns (-C), visualizes # directories, links and other special files (-F) and pages everything through # less. @@ -57,7 +57,7 @@ ls() { LS_ENV LS_PATH LS_COLOR -C -F "$@" 2>&1 | less } -unalias ll lt la lal lat 2> /dev/null +unalias ll lt la lal lat 2>/dev/null # List the files in list format with access rights, etc. alias ll='ls -l' # List the files sorted by last modification date.