This commit is contained in:
Marc Beninca 2024-11-18 16:24:54 +01:00
parent 3108283a42
commit 41ca1b08f8
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -3,7 +3,8 @@ di=0;94\
" "
# list current directory’s entries # list current directory’s entries
l() { l() { sh_a__ls "${@}"; }
sh_a__ls() {
ls \ ls \
--all \ --all \
--color \ --color \
@ -14,15 +15,17 @@ l() {
} }
# list timestamps # list timestamps
lt() { lt() { sh_a__ls_time "${@}"; }
l \ sh_a__ls_time() {
sh_a__ls \
--time-style "+%Y%m%d-%H%M%S%-:::z" \ --time-style "+%Y%m%d-%H%M%S%-:::z" \
"${@}" "${@}"
} }
# list timestamps recent last # list timestamps recent last
ltt() { ltr() { sh_a__ls_time_reverse "${@}"; }
lt \ sh_a__ls_time_reverse() {
sh_a__ls_time \
--reverse \ --reverse \
-t \ -t \
"${@}" "${@}"