diff options
author | June McEnroe <june@causal.agency> | 2013-10-31 18:06:09 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2013-10-31 18:06:09 -0400 |
commit | 0d786bf57e02bc9903956b0703ec77bd0cb5d719 (patch) | |
tree | a1da81af35d9e336e140e70f4590ef8f7931ed7b | |
parent | Wow look reorganized zsh config (diff) | |
download | src-0d786bf57e02bc9903956b0703ec77bd0cb5d719.tar.gz src-0d786bf57e02bc9903956b0703ec77bd0cb5d719.zip |
Fix host in prompt
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
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]%})" |