rwx/sh/alias/ls.sh
Marc Beninca 020aaa0b9a
All checks were successful
/ job (push) Successful in 1m12s
refactor(history): commit development branch
new development branch from root commit
2025-02-10 21:54:51 +01:00

32 lines
434 B
Bash

export LS_COLORS="\
di=0;94\
"
# list current directory’s entries
l() { a__ls "${@}"; }
a__ls() {
ls \
--all \
--color \
-l \
-p \
--time-style "+" \
"${@}"
}
# list timestamps
lt() { a__ls_time "${@}"; }
a__ls_time() {
a__ls \
--time-style "+%Y%m%d-%H%M%S%-:::z" \
"${@}"
}
# list timestamps recent last
ltr() { a__ls_time_reverse "${@}"; }
a__ls_time_reverse() {
a__ls_time \
--reverse \
-t \
"${@}"
}