From f49c5bdf212a47e201f23c409c5eb9ac2dddfa31 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Tue, 24 Feb 2015 23:48:12 +0200 Subject: [PATCH] Fix ssh/root spacing issue. --- pure.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pure.zsh b/pure.zsh index 821e4e3..3b02bed 100644 --- a/pure.zsh +++ b/pure.zsh @@ -120,10 +120,10 @@ prompt_pure_setup() { zstyle ':vcs_info:git*' actionformats ' %b|%a' # show username@host if logged in through SSH - [[ "$SSH_CONNECTION" != '' ]] && prompt_pure_username=' %n@%m ' + [[ "$SSH_CONNECTION" != '' ]] && prompt_pure_username=' %n@%m' # show username@host if root, with username in white - [[ $UID -eq 0 ]] && prompt_pure_username=' %F{white}%n%F{242}@%m ' + [[ $UID -eq 0 ]] && prompt_pure_username=' %F{white}%n%F{242}@%m' # prompt turns red if the previous command didn't exit with 0 PROMPT="%(?.%F{magenta}.%F{red})${PURE_PROMPT_SYMBOL:-❯}%f "