From 8a99428a58e1924974f6171851348095cdbd532d Mon Sep 17 00:00:00 2001 From: maudin Date: Wed, 6 May 2020 10:08:16 +0200 Subject: [PATCH] do not resize font on remote --- hybris.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hybris.zsh b/hybris.zsh index 6a5824d..f855146 100644 --- a/hybris.zsh +++ b/hybris.zsh @@ -6,7 +6,7 @@ zstyle :omz:plugins:keychain options --quiet # bip at command end, resize font function precmd() { echo -n -e "\a" - /home/hybris/.scripts/term-fontsize + [ -n "${DISPLAY}" ] && /home/hybris/.scripts/term-fontsize } # do not share history between terms...