From 290455ccffb3f0b0c3efbc84f0ea766b548c3ee5 Mon Sep 17 00:00:00 2001 From: Daniel Sissom Date: Sat, 3 Aug 2024 10:13:21 -0500 Subject: [PATCH] Updated urxvt hack to only check to run on linux. --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index 7e41f46..d1835d5 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -12,7 +12,7 @@ # Hack to fix urxvt starting with a prompt in the middle - delete when fixed #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -if [[ `ps ho command $(ps ho ppid $$)` == 'urxvt' ]]; then +if [[ $hostenv == 'linux' && `ps ho command $(ps ho ppid $$)` == 'urxvt' ]]; then clear fi