From 2f838b1826247279405f90a6f017b1c754c21d80 Mon Sep 17 00:00:00 2001 From: Daniel Sissom Date: Sat, 9 Mar 2024 14:06:51 -0600 Subject: [PATCH] Added hack to fix urxvt prompt starting in the middle of the screen. --- zsh/zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index e62c91d..ccd3f81 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -8,6 +8,16 @@ +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +# Hack to fix urxvt starting with a prompt in the middle - delete when fixed +#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +if [[ `ps ho command $(ps ho ppid $$)` == 'urxvt' ]]; then + clear +fi + + + #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Tab completion settings (added by compinstall) #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~