summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-10-31 18:26:14 -0400
committerJune McEnroe <june@causal.agency>2013-10-31 18:26:14 -0400
commitfbe5dcc30261b833609619accf9f447f6c9b78cd (patch)
treee8ae24863eae2393b532bc560ad7506a4c8bab46
parentFix host in prompt (diff)
downloadsrc-fbe5dcc30261b833609619accf9f447f6c9b78cd.tar.gz
src-fbe5dcc30261b833609619accf9f447f6c9b78cd.zip
Fix host in prompt, part two
Diffstat (limited to '')
-rw-r--r--.zshrc2
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]%})"