summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2013-10-31 18:06:09 -0400
committerJune McEnroe <programble@gmail.com>2013-10-31 18:06:09 -0400
commita8dd3b70e974bc591a45d1183aa48efaafd874b0 (patch)
tree517fcf7076801109ff6b0893398af07cd20a25f7
parentWow look reorganized zsh config (diff)
downloadsrc-a8dd3b70e974bc591a45d1183aa48efaafd874b0.tar.gz
src-a8dd3b70e974bc591a45d1183aa48efaafd874b0.zip
Fix host in prompt
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 4800c618..f469cd33 100644
--- a/.zshrc
+++ b/.zshrc
@@ -61,5 +61,5 @@ EDITOR=vim
 
 unset _prompt_host
 [[ -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%} '
+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]%})"