Swap out ls for LSDeluxe, when it's available

This commit is contained in:
Danielle McLean 2020-07-27 08:28:25 +10:00
parent 6c5bb34c02
commit be45d2516a
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -1,5 +1,9 @@
#! zsh #! zsh
if (( $+commands[lsd] )); then
alias ls=lsd
else
alias ls='ls -F --color=auto' alias ls='ls -F --color=auto'
fi
alias lsl='ls -lh' alias lsl='ls -lh'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias egrep='egrep --color=auto' alias egrep='egrep --color=auto'