summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-10-31 18:06:09 -0400
committerJune McEnroe <june@causal.agency>2013-10-31 18:06:09 -0400
commit0d786bf57e02bc9903956b0703ec77bd0cb5d719 (patch)
treea1da81af35d9e336e140e70f4590ef8f7931ed7b
parentWow look reorganized zsh config (diff)
downloadsrc-0d786bf57e02bc9903956b0703ec77bd0cb5d719.tar.gz
src-0d786bf57e02bc9903956b0703ec77bd0cb5d719.zip
Fix host in prompt
Diffstat (limited to '')
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index c0ccb065..671662c1 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]%})"