From 9ffb44641297d54a19983edd90b2d0d347970e36 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 19 Dec 2018 22:28:28 +0100 Subject: zsh: Fix SSH optimisation --- zsh/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 63b60b6..e8458f8 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -206,7 +206,7 @@ then unsetopt zle else AGKOZAK_PROMPT_DIRTRIM=0 - AGKOZAK_LEFT_PROMPT_ONLY=$SSH_CLIENT + AGKOZAK_LEFT_PROMPT_ONLY=${+SSH_CLIENT} check_kubectl_context () { if [[ "$PWD" =~ /kubernetes ]] -- cgit 1.4.1