From 7266a80ad23a6f1ac0750a84e372fba954b10b53 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 10 Sep 2020 17:39:13 +0200 Subject: zsh: show/hide user and host depending on SSH status --- user/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user/zsh') diff --git a/user/zsh/zshrc b/user/zsh/zshrc index 67eee653..c90fa933 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -75,7 +75,7 @@ then %# ' unsetopt zle else - AGKOZAK_USER_HOST_DISPLAY=0 + AGKOZAK_USER_HOST_DISPLAY=${+SSH_CLIENT} AGKOZAK_SHOW_STASH=0 AGKOZAK_SHOW_VIRTUALENV=0 AGKOZAK_PROMPT_DIRTRIM=0 -- cgit 1.4.1