Use command -v

This commit is contained in:
dabruh 2023-11-15 17:30:43 +01:00
parent 363486883a
commit 053bb13130
1 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,8 @@ alias \
alias \
w='curl https://wttr.in/'
which codium >/dev/null && alias code=codium c=codium
which pacman >/dev/null && alias p=pacman
which zathura >/dev/null && alias z=zathura
which ranger >/dev/null && alias r=ranger
command -v codium >/dev/null && alias code=codium c=codium
command -v pacman >/dev/null && alias p=pacman
command -v zathura >/dev/null && alias z=zathura
command -v ranger >/dev/null && alias r=ranger
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"