From 070cbc22300057fb196bdd5aff274b8285037209 Mon Sep 17 00:00:00 2001 From: Mitch Tishmack Date: Wed, 11 Feb 2015 10:29:30 -0600 Subject: [PATCH] Fix PROMPT and RPROMPT output, putting git info in RPROMPT. --- zsh/.zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 5fa0a29..a903b56 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -138,4 +138,5 @@ zstyle ':vcs_info:*' formats "$branch" zstyle ':vcs_info:*' actionformats "$branch (%a)" zstyle ':vcs_info:*' stagedstr "%{$fg[yellow]%}*" zstyle ':vcs_info:*' unstagedstr "%{$fg[red]%}*" -PROMPT="$userat:$pwd\${vcs_info_msg_0_}$userchar " +PROMPT="$userat:$pwd$userchar " +RPROMPT="${vcs_info_msg_0_}"