diff --git a/.zsh/lib/prompt.zsh b/.zsh/lib/prompt.zsh index be8c900..4462c7a 100644 --- a/.zsh/lib/prompt.zsh +++ b/.zsh/lib/prompt.zsh @@ -12,7 +12,7 @@ fi PROMPT+='%F{yellow}%~%f ' # Change green arrows (⇣⇡) if connection is via ssh -if [[ "${SSH_TTY}" ]]; then +if [[ "${SSH_CLIENT}" ]]; then PROMPT+="%F{green}⇣⇡%f %F{white}〉%f"; else PROMPT+="%F{white}〉%f";