Browse Source

Updated urxvt hack to only check to run on linux.

master
Daniel Sissom 4 months ago
parent
commit
290455ccff
Signed by: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 1 additions and 1 deletions
  1. + 1
    - 1
      zsh/zshrc

+ 1
- 1
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

Loading…
Cancel
Save