summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-10-31 18:26:14 -0400
committerJune McEnroe <programble@gmail.com>2013-10-31 18:26:14 -0400
commit88e5456fccdf1d39f6b6c12d9c099eee7b94d798 (patch)
treeb15208f3a8d91d5e3128e99524d4b4a634ebe5cf
parentFix host in prompt (diff)
downloadsrc-88e5456fccdf1d39f6b6c12d9c099eee7b94d798.tar.gz
src-88e5456fccdf1d39f6b6c12d9c099eee7b94d798.zip
Fix host in prompt, part two
Diffstat (limited to '')
-rw-r--r--.zshrc2
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]%})"