2024-03-15 11:15:57 +00:00
|
|
|
export LS_COLORS="\
|
|
|
|
di=0;94\
|
|
|
|
"
|
|
|
|
|
2024-11-12 08:43:56 +00:00
|
|
|
# list current directory’s entries
|
2024-11-17 02:42:34 +00:00
|
|
|
l() {
|
|
|
|
ls \
|
|
|
|
--all \
|
|
|
|
--color \
|
|
|
|
-l \
|
|
|
|
-p \
|
2024-11-17 02:47:24 +00:00
|
|
|
"${@}"
|
|
|
|
}
|
|
|
|
|
|
|
|
# list timestamps
|
|
|
|
lt() {
|
|
|
|
l \
|
2024-11-17 02:42:34 +00:00
|
|
|
--time-style "+%Y%m%d-%H%M%S%-:::z" \
|
|
|
|
"${@}"
|
|
|
|
}
|
2024-11-17 02:47:24 +00:00
|
|
|
|
|
|
|
# list timestamps recent last
|
|
|
|
ltt() {
|
|
|
|
l \
|
|
|
|
--reverse \
|
|
|
|
-t \
|
|
|
|
"${@}"
|
|
|
|
}
|