From 88e5456fccdf1d39f6b6c12d9c099eee7b94d798 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 31 Oct 2013 18:26:14 -0400 Subject: Fix host in prompt, part two --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index f469cd33..ffb3096a 100644 --- a/.zshrc +++ b/.zshrc @@ -60,6 +60,6 @@ EDITOR=vim # Prompt unset _prompt_host -[[ -n "$SSH_CLIENT" ]] && _prompt_host='%{$fg[magenta]%}%m:' +[[ -n "$SSH_CLIENT" ]] && _prompt_host="%{$fg[magenta]%}%m:" PROMPT=$'%{$terminfo[bold]$fg[green]%}[$_prompt_host%{$fg[blue]%}%30<..<%~$(gitprompt)%{$fg[green]%}]%(!.#.$)%{$terminfo[sgr0]$reset_color%} ' RPROMPT="%(?..%{$terminfo[bold]$fg[green]%}[%{$fg[red]%}%?%{$fg[green]%}]%{$terminfo[sgr0]%})" -- cgit 1.4.1