zsh: show/hide user and host depending on SSH status
Alan Pearce alan@alanpearce.eu
Thu, 10 Sep 2020 17:39:13 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M user/zsh/zshrc → user/zsh/zshrc
@@ -75,7 +75,7 @@ PROMPT='%B%F{green}%n %F{blue}%~%b%f %# ' 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