diff --git a/.config/shell/aliases/common b/.config/shell/aliases/common index 5848b34..b5b8800 100644 --- a/.config/shell/aliases/common +++ b/.config/shell/aliases/common @@ -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'"