all repos — nixfiles @ 9ffb44641297d54a19983edd90b2d0d347970e36

System and user configuration, managed by nix and home-manager

zsh: Fix SSH optimisation
Alan Pearce alan@alanpearce.eu
Wed, 19 Dec 2018 22:28:28 +0100
commit

9ffb44641297d54a19983edd90b2d0d347970e36

parent

a55266068541cbcab22c47d9f83f591db30fa351

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.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 ]]