feat(zsh): make arch linux detection more generic, apply to any linux

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

View File

@ -42,8 +42,8 @@ if [[ "$OSTYPE" = "darwin"* ]]; then
alias sed="gsed"
fi
### Arch Linux ###
if [[ "$(uname -r)" == *"arch"* ]]; then
### Linux ###
if [[ "${OSTYPE}" == "linux-gnu"* ]]; then
if command -v wl-copy >/dev/null 2>&1; then
alias c="wl-copy"
alias p="wl-paste"