diff --git a/sh/alias/ls.sh b/sh/alias/ls.sh index ad5a809..13f3663 100644 --- a/sh/alias/ls.sh +++ b/sh/alias/ls.sh @@ -1,9 +1,13 @@ +# list files + +# list colors +# * lighter blue for directories export LS_COLORS="\ di=0;94\ " # list current directory’s entries -l() { a__ls "${@}"; } +#= l a__ls() { ls \ --all \ @@ -15,7 +19,7 @@ a__ls() { } # list timestamps -lt() { a__ls_time "${@}"; } +#= lt a__ls_time() { a__ls \ --time-style "+%Y%m%d-%H%M%S%-:::z" \ @@ -23,7 +27,7 @@ a__ls_time() { } # list timestamps recent last -ltr() { a__ls_time_reverse "${@}"; } +#= ltr a__ls_time_reverse() { a__ls_time \ --reverse \