Added exa

This commit is contained in:
Thomas Forgione 2018-03-29 08:29:00 +02:00
parent 95327a4404
commit 5012121a09
No known key found for this signature in database
GPG Key ID: C75CD416BD1FFCE1
1 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,13 @@ alias jekyll="bundle exec jekyll serve"
alias cd..="cd .."
alias cd...="cd ../.."
alias cd....="cd ../../.."
alias ls="ls -h --color --group-directories-first"
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"
fi
alias l="ls"
alias sl="ls"
alias lsd="ls"