Added exa
This commit is contained in:
parent
95327a4404
commit
5012121a09
|
@ -37,7 +37,13 @@ alias jekyll="bundle exec jekyll serve"
|
||||||
alias cd..="cd .."
|
alias cd..="cd .."
|
||||||
alias cd...="cd ../.."
|
alias cd...="cd ../.."
|
||||||
alias cd....="cd ../../.."
|
alias cd....="cd ../../.."
|
||||||
|
command -v exa > /dev/null 2>&1
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
alias ls="exa -h --group-directories-first"
|
||||||
|
else
|
||||||
alias ls="ls -h --color --group-directories-first"
|
alias ls="ls -h --color --group-directories-first"
|
||||||
|
fi
|
||||||
alias l="ls"
|
alias l="ls"
|
||||||
alias sl="ls"
|
alias sl="ls"
|
||||||
alias lsd="ls"
|
alias lsd="ls"
|
||||||
|
|
Loading…
Reference in New Issue