Fixed sorting in ls aliases

Made changes so that when using `lc` and `lu` to sort `ls` by 'change time' and 'access time' respectively, it actually sorts it instead of displaying the information and sorting alphabetically.
This commit is contained in:
Nahil Rasheed
2024-05-23 22:47:39 +05:30
committed by GitHub
parent 24d41a078f
commit 954efc645a

View File

@@ -156,8 +156,8 @@ alias la='ls -Alh' # show hidden files
alias ls='ls -aFh --color=always' # add colors and file type extensions
alias lx='ls -lXBh' # sort by extension
alias lk='ls -lSrh' # sort by size
alias lc='ls -lcrh' # sort by change time
alias lu='ls -lurh' # sort by access time
alias lc='ls -ltcrh' # sort by change time
alias lu='ls -lturh' # sort by access time
alias lr='ls -lRh' # recursive ls
alias lt='ls -ltrh' # sort by date
alias lm='ls -alh |more' # pipe through 'more'