From 0fa82d05d26a6fa18de21d3c7c803fca6a3691b0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 22 May 2023 18:07:24 -0500 Subject: [PATCH] feat(zsh): make arch linux detection more generic, apply to any linux --- dots/.config/zsh/config/profile/profile/aliases.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.config/zsh/config/profile/profile/aliases.zsh b/dots/.config/zsh/config/profile/profile/aliases.zsh index 334e2c0d..c41e1b80 100644 --- a/dots/.config/zsh/config/profile/profile/aliases.zsh +++ b/dots/.config/zsh/config/profile/profile/aliases.zsh @@ -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"