Change bg color in remote shells
This commit is contained in:
parent
4b0f050d1b
commit
b9ee35cf0e
11
zsh/prompt
11
zsh/prompt
|
@ -21,13 +21,14 @@ ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|||
# Left side
|
||||
PROMPT="
|
||||
"
|
||||
if [[ -n $SSH_CLIENT ]]; then
|
||||
PROMPT+="%{$fg[white]%}$(hostname)%{$reset_color%} "
|
||||
fi
|
||||
|
||||
PROMPT+="%{$FX[bold]%}"
|
||||
PROMPT+="%{$fg[cyan]%}"
|
||||
if [[ -n $SSH_CLIENT ]]; then
|
||||
PROMPT+="%{$BG[236]%}"
|
||||
PROMPT+="%{$fg[white]%}$(hostname)%{$reset_color%} "
|
||||
else
|
||||
PROMPT+="%{$BG[234]%}"
|
||||
fi
|
||||
PROMPT+="%{$fg[cyan]%}"
|
||||
PROMPT+="$ "
|
||||
PROMPT+="%{$fg[white]%}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue