diff options
author | June McEnroe <june@causal.agency> | 2013-10-31 18:26:14 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2013-10-31 18:26:14 -0400 |
commit | fbe5dcc30261b833609619accf9f447f6c9b78cd (patch) | |
tree | e8ae24863eae2393b532bc560ad7506a4c8bab46 | |
parent | Fix host in prompt (diff) | |
download | src-fbe5dcc30261b833609619accf9f447f6c9b78cd.tar.gz src-fbe5dcc30261b833609619accf9f447f6c9b78cd.zip |
Fix host in prompt, part two
Diffstat (limited to '')
-rw-r--r-- | .zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc index 671662c1..e8931b9a 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]%})" |