tty/ls
This commit is contained in:
parent
7c3617ac1f
commit
8f57e58ffe
1 changed files with 0 additions and 0 deletions
37
sh/fs/ls.sh
37
sh/fs/ls.sh
|
@ -1,37 +0,0 @@
|
|||
# list files
|
||||
|
||||
# list colors
|
||||
# * lighter blue for directories
|
||||
export LS_COLORS="\
|
||||
di=0;94\
|
||||
"
|
||||
|
||||
# list current directory’s entries
|
||||
#| ls
|
||||
#= l
|
||||
rwx_ls() {
|
||||
ls \
|
||||
--all \
|
||||
--color \
|
||||
-l \
|
||||
-p \
|
||||
--time-style "+" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# list timestamps
|
||||
#= lt
|
||||
rwx_ls_time() {
|
||||
rwx_ls \
|
||||
--time-style "+%Y%m%d-%H%M%S%-:::z" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
# list timestamps recent last
|
||||
#= ltr
|
||||
rwx_ls_time_reverse() {
|
||||
rwx_ls_time \
|
||||
--reverse \
|
||||
-t \
|
||||
"${@}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue