From 4154a6879024dc3721c5f7a92cf408262e43bc11 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 6 Jul 2025 07:19:58 +0200 Subject: [PATCH] alias/ls --- sh/alias/ls.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sh/alias/ls.sh b/sh/alias/ls.sh index ad5a809..13f3663 100644 --- a/sh/alias/ls.sh +++ b/sh/alias/ls.sh @@ -1,9 +1,13 @@ +# list files + +# list colors +# * lighter blue for directories export LS_COLORS="\ di=0;94\ " # list current directory’s entries -l() { a__ls "${@}"; } +#= l a__ls() { ls \ --all \ @@ -15,7 +19,7 @@ a__ls() { } # list timestamps -lt() { a__ls_time "${@}"; } +#= lt a__ls_time() { a__ls \ --time-style "+%Y%m%d-%H%M%S%-:::z" \ @@ -23,7 +27,7 @@ a__ls_time() { } # list timestamps recent last -ltr() { a__ls_time_reverse "${@}"; } +#= ltr a__ls_time_reverse() { a__ls_time \ --reverse \