Fix command check

This commit is contained in:
Leon Grünewald 2020-07-05 19:50:21 +02:00
parent e200e25845
commit 5533769416

View file

@ -65,7 +65,12 @@ if [ -n "$(command -v vimx)" ]; then
alias vim='vimx'
fi
if [ -n "$(command bat)" ]; then
if [ -n "$(command -v bat)" ]; then
alias cat='bat'
alias oldcat='cat'
fi
if [ -n "$(command -v exa)"]; then
alias ls='exa'
alias oldls='ls --color=tty'
fi