diff options
author | June McEnroe <programble@gmail.com> | 2013-10-31 18:26:14 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-10-31 18:26:14 -0400 |
commit | 88e5456fccdf1d39f6b6c12d9c099eee7b94d798 (patch) | |
tree | b15208f3a8d91d5e3128e99524d4b4a634ebe5cf | |
parent | Fix host in prompt (diff) | |
download | src-88e5456fccdf1d39f6b6c12d9c099eee7b94d798.tar.gz src-88e5456fccdf1d39f6b6c12d9c099eee7b94d798.zip |
Fix host in prompt, part two
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
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]%})" |