From 83d51179c9e689d8a2a0bed4ab19e7583f5f3465 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 30 Jan 2018 00:19:32 +0100 Subject: [PATCH] Changed user@hostname condition. This fixes #7. --- themes/agnoster.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 07546fd34..004125a63 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -79,7 +79,7 @@ prompt_end() { # Context: user@hostname (who am I and where am I) prompt_context() { - if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then + if [[ "$USER" != "$DEFAULT_USER" ]]; then prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m" fi }