zsh: hostname is red now

This commit is contained in:
Grigory Shipunov 2020-06-01 20:34:25 +02:00
parent 75bb034d48
commit 8af80e4007
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

2
.zshrc
View file

@ -19,7 +19,7 @@ bindkey "^X^E" edit-command-line
# Prompt
if [[ -n $SSH_CONNECTION ]]; then
HOST_LBL="%F{green}[%m]%f"
HOST_LBL="%F{red}[%m]%f"
fi
PROMPT="%B%(?..%F{red}[%?]%f)$HOST_LBL%(!.%F{red}[%n]%f.)%F{cyan}%~%(!.%F{red}.%F{green})%# %f%b"