zsh: hostname is red now
This commit is contained in:
parent
75bb034d48
commit
8af80e4007
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -19,7 +19,7 @@ bindkey "^X^E" edit-command-line
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
if [[ -n $SSH_CONNECTION ]]; then
|
if [[ -n $SSH_CONNECTION ]]; then
|
||||||
HOST_LBL="%F{green}[%m]%f"
|
HOST_LBL="%F{red}[%m]%f"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PROMPT="%B%(?..%F{red}[%?]%f)$HOST_LBL%(!.%F{red}[%n]%f.)%F{cyan}%~%(!.%F{red}.%F{green})%# %f%b"
|
PROMPT="%B%(?..%F{red}[%?]%f)$HOST_LBL%(!.%F{red}[%n]%f.)%F{cyan}%~%(!.%F{red}.%F{green})%# %f%b"
|
||||||
|
|
Loading…
Add table
Reference in a new issue