Changed remote detection for zsh prompt
This commit is contained in:
@@ -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";
|
||||||
|
Reference in New Issue
Block a user