diff options
author | Alan Pearce | 2018-12-19 22:28:28 +0100 |
---|---|---|
committer | Alan Pearce | 2018-12-19 22:28:28 +0100 |
commit | 9ffb44641297d54a19983edd90b2d0d347970e36 (patch) | |
tree | 82ebda3e1200faff66aea165ceb4df627bbcb148 | |
parent | a55266068541cbcab22c47d9f83f591db30fa351 (diff) | |
download | nixfiles-9ffb44641297d54a19983edd90b2d0d347970e36.tar.lz nixfiles-9ffb44641297d54a19983edd90b2d0d347970e36.tar.zst nixfiles-9ffb44641297d54a19983edd90b2d0d347970e36.zip |
zsh: Fix SSH optimisation
-rw-r--r-- | zsh/.config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 63b60b63..e8458f8e 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 ]] |