diff options
author | June McEnroe <programble@gmail.com> | 2013-10-31 18:06:09 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-10-31 18:06:09 -0400 |
commit | a8dd3b70e974bc591a45d1183aa48efaafd874b0 (patch) | |
tree | 517fcf7076801109ff6b0893398af07cd20a25f7 | |
parent | Wow look reorganized zsh config (diff) | |
download | src-a8dd3b70e974bc591a45d1183aa48efaafd874b0.tar.gz src-a8dd3b70e974bc591a45d1183aa48efaafd874b0.zip |
Fix host in prompt
-rw-r--r-- | .zshrc | 2 |
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]%})" |