Change bg color in remote shells

This commit is contained in:
Henrik Lissner 2013-03-16 14:45:53 -04:00
parent 4b0f050d1b
commit b9ee35cf0e

View file

@ -21,13 +21,14 @@ ZSH_THEME_GIT_PROMPT_CLEAN=""
# Left side # Left side
PROMPT=" PROMPT="
" "
if [[ -n $SSH_CLIENT ]]; then
PROMPT+="%{$fg[white]%}$(hostname)%{$reset_color%} "
fi
PROMPT+="%{$FX[bold]%}" PROMPT+="%{$FX[bold]%}"
PROMPT+="%{$fg[cyan]%}" if [[ -n $SSH_CLIENT ]]; then
PROMPT+="%{$BG[236]%}"
PROMPT+="%{$fg[white]%}$(hostname)%{$reset_color%} "
else
PROMPT+="%{$BG[234]%}" PROMPT+="%{$BG[234]%}"
fi
PROMPT+="%{$fg[cyan]%}"
PROMPT+="$ " PROMPT+="$ "
PROMPT+="%{$fg[white]%}" PROMPT+="%{$fg[white]%}"