This commit is contained in:
Marc Beninca 2024-11-18 16:19:37 +01:00
parent 12bc25233c
commit 3108283a42
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

29
sh/alias/ls.sh Normal file
View file

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