From 65a5c24a39c24c377faee88e41632f406f5e8253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandros=20Koz=C3=A1k?= Date: Thu, 19 Apr 2018 09:57:36 -0700 Subject: [PATCH] Parameter expansion in _agkozak_is_ssh() --- agkozak-zsh-theme.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agkozak-zsh-theme.plugin.zsh b/agkozak-zsh-theme.plugin.zsh index 296f03e..b4e217e 100644 --- a/agkozak-zsh-theme.plugin.zsh +++ b/agkozak-zsh-theme.plugin.zsh @@ -68,7 +68,7 @@ setopt PROMPT_SUBST NO_PROMPT_BANG # her username and hostname in inverse video. ############################################################ _agkozak_is_ssh() { - [[ -n "${SSH_CONNECTION-}${SSH_CLIENT}${SSH_TTY}" ]] + [[ -n "${SSH_CONNECTION-}${SSH_CLIENT-}${SSH_TTY-}" ]] } ############################################################