diff options
author | Alan Pearce | 2020-09-10 17:39:13 +0200 |
---|---|---|
committer | Alan Pearce | 2020-09-10 17:39:13 +0200 |
commit | 7266a80ad23a6f1ac0750a84e372fba954b10b53 (patch) | |
tree | 4dc23df5fae2e4f828d5aad0cda3e11be0f192e9 /user/zsh | |
parent | cb1bc18be03a91e47e4ace712db4f178308f652b (diff) | |
download | nixfiles-7266a80ad23a6f1ac0750a84e372fba954b10b53.tar.lz nixfiles-7266a80ad23a6f1ac0750a84e372fba954b10b53.tar.zst nixfiles-7266a80ad23a6f1ac0750a84e372fba954b10b53.zip |
zsh: show/hide user and host depending on SSH status
Diffstat (limited to 'user/zsh')
-rw-r--r-- | user/zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc index 67eee653..c90fa933 100644 --- a/user/zsh/zshrc +++ b/user/zsh/zshrc @@ -75,7 +75,7 @@ then %# ' unsetopt zle else - AGKOZAK_USER_HOST_DISPLAY=0 + AGKOZAK_USER_HOST_DISPLAY=${+SSH_CLIENT} AGKOZAK_SHOW_STASH=0 AGKOZAK_SHOW_VIRTUALENV=0 AGKOZAK_PROMPT_DIRTRIM=0 |