only alias ls to exa if exa exists

This commit is contained in:
Simon Bruder 2018-04-30 17:53:42 +00:00
parent d4a2cc66d5
commit a8a5d40bfa
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -155,8 +155,10 @@ alias tearstop="compton --backend=glx"
alias apktool="java -jar ~/opt/apktool_2.3.1.jar" alias apktool="java -jar ~/opt/apktool_2.3.1.jar"
alias mpvhdr="mpv --tone-mapping=hable" alias mpvhdr="mpv --tone-mapping=hable"
alias rls="/bin/ls --color=auto" alias rls="/bin/ls --color=auto"
alias exa="exa --git" if which exa 2>&1 >> /dev/null;then
alias ls="exa" alias exa="exa --git"
alias ls="exa"
fi
alias presirandr="arandr; feh --bg-fill bg.jpg" alias presirandr="arandr; feh --bg-fill bg.jpg"
## Environment variables ## Environment variables