Fix command check
This commit is contained in:
parent
e200e25845
commit
5533769416
1 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,12 @@ if [ -n "$(command -v vimx)" ]; then
|
||||||
alias vim='vimx'
|
alias vim='vimx'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$(command bat)" ]; then
|
if [ -n "$(command -v bat)" ]; then
|
||||||
alias cat='bat'
|
alias cat='bat'
|
||||||
alias oldcat='cat'
|
alias oldcat='cat'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -n "$(command -v exa)"]; then
|
||||||
|
alias ls='exa'
|
||||||
|
alias oldls='ls --color=tty'
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue