alias/ls
This commit is contained in:
parent
4a89985362
commit
4154a68790
1 changed files with 7 additions and 3 deletions
|
@ -1,9 +1,13 @@
|
||||||
|
# list files
|
||||||
|
|
||||||
|
# list colors
|
||||||
|
# * lighter blue for directories
|
||||||
export LS_COLORS="\
|
export LS_COLORS="\
|
||||||
di=0;94\
|
di=0;94\
|
||||||
"
|
"
|
||||||
|
|
||||||
# list current directory’s entries
|
# list current directory’s entries
|
||||||
l() { a__ls "${@}"; }
|
#= l
|
||||||
a__ls() {
|
a__ls() {
|
||||||
ls \
|
ls \
|
||||||
--all \
|
--all \
|
||||||
|
@ -15,7 +19,7 @@ a__ls() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# list timestamps
|
# list timestamps
|
||||||
lt() { a__ls_time "${@}"; }
|
#= lt
|
||||||
a__ls_time() {
|
a__ls_time() {
|
||||||
a__ls \
|
a__ls \
|
||||||
--time-style "+%Y%m%d-%H%M%S%-:::z" \
|
--time-style "+%Y%m%d-%H%M%S%-:::z" \
|
||||||
|
@ -23,7 +27,7 @@ a__ls_time() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# list timestamps recent last
|
# list timestamps recent last
|
||||||
ltr() { a__ls_time_reverse "${@}"; }
|
#= ltr
|
||||||
a__ls_time_reverse() {
|
a__ls_time_reverse() {
|
||||||
a__ls_time \
|
a__ls_time \
|
||||||
--reverse \
|
--reverse \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue