mirror of https://gitlab.com/dabruh/dotfiles.git
Use command -v
This commit is contained in:
parent
363486883a
commit
053bb13130
|
@ -22,8 +22,8 @@ alias \
|
||||||
alias \
|
alias \
|
||||||
w='curl https://wttr.in/'
|
w='curl https://wttr.in/'
|
||||||
|
|
||||||
which codium >/dev/null && alias code=codium c=codium
|
command -v codium >/dev/null && alias code=codium c=codium
|
||||||
which pacman >/dev/null && alias p=pacman
|
command -v pacman >/dev/null && alias p=pacman
|
||||||
which zathura >/dev/null && alias z=zathura
|
command -v zathura >/dev/null && alias z=zathura
|
||||||
which ranger >/dev/null && alias r=ranger
|
command -v ranger >/dev/null && alias r=ranger
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"
|
[ -s "$NVM_DIR/nvm.sh" ] && alias load-nvm="source '$NVM_DIR/nvm.sh'"
|
||||||
|
|
Loading…
Reference in New Issue