Changed remote detection for zsh prompt
This commit is contained in:
parent
b1023858de
commit
28c5ca1eff
@ -12,7 +12,7 @@ fi
|
|||||||
PROMPT+='%F{yellow}%~%f '
|
PROMPT+='%F{yellow}%~%f '
|
||||||
|
|
||||||
# Change green arrows (⇣⇡) if connection is via ssh
|
# Change green arrows (⇣⇡) if connection is via ssh
|
||||||
if [[ "${SSH_TTY}" ]]; then
|
if [[ "${SSH_CLIENT}" ]]; then
|
||||||
PROMPT+="%F{green}⇣⇡%f %F{white}〉%f";
|
PROMPT+="%F{green}⇣⇡%f %F{white}〉%f";
|
||||||
else
|
else
|
||||||
PROMPT+="%F{white}〉%f";
|
PROMPT+="%F{white}〉%f";
|
||||||
|
Loading…
Reference in New Issue
Block a user