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
l() {
l() { sh_a__ls "${@}"; }
sh_a__ls() {
ls \
--all \
--color \
@ -14,15 +15,17 @@ l() {
}
# list timestamps
lt() {
l \
lt() { sh_a__ls_time "${@}"; }
sh_a__ls_time() {
sh_a__ls \
--time-style "+%Y%m%d-%H%M%S%-:::z" \
"${@}"
}
# list timestamps recent last
ltt() {
lt \
ltr() { sh_a__ls_time_reverse "${@}"; }
sh_a__ls_time_reverse() {
sh_a__ls_time \
--reverse \
-t \
"${@}"