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'
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue