diff --git a/shell/alias/ls.sh b/shell/alias/ls.sh index 75eb5a5..8be2be0 100644 --- a/shell/alias/ls.sh +++ b/shell/alias/ls.sh @@ -9,6 +9,20 @@ l() { --color \ -l \ -p \ + "${@}" +} + +# list timestamps +lt() { + l \ --time-style "+%Y%m%d-%H%M%S%-:::z" \ "${@}" } + +# list timestamps recent last +ltt() { + l \ + --reverse \ + -t \ + "${@}" +}