feat(zsh): create alias for xdg-open -> open

This commit is contained in:
Price Hiller 2023-05-22 18:07:44 -05:00
parent 0fa82d05d2
commit b1a57552f3
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -48,6 +48,10 @@ if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
alias c="wl-copy" alias c="wl-copy"
alias p="wl-paste" alias p="wl-paste"
fi fi
if ! command -v open >/dev/null 2>&1 && command -v xdg-open >/dev/null 2>&1; then
alias open="xdg-open"
fi
fi fi
### Bat ### ### Bat ###