[zsh] Add chronological ls
This commit is contained in:
parent
9b2a7dda0e
commit
4fbf0bdd04
1 changed files with 1 additions and 0 deletions
1
aliases
1
aliases
|
@ -5,6 +5,7 @@
|
||||||
# Detect if we have GNU coreutils or BSD
|
# Detect if we have GNU coreutils or BSD
|
||||||
if date --version > /dev/null 2>&1 ;then
|
if date --version > /dev/null 2>&1 ;then
|
||||||
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars -h'
|
alias ls='ls --classify --tabsize=0 --literal --color=auto --show-control-chars -h'
|
||||||
|
alias lh='ls -trhgGN --color=always | cut -d" " -f3-' # List files in chronological order
|
||||||
alias diff='diff --color'
|
alias diff='diff --color'
|
||||||
alias less='less --quiet'
|
alias less='less --quiet'
|
||||||
alias grep="grep --color"
|
alias grep="grep --color"
|
||||||
|
|
Loading…
Reference in a new issue