Browse Source

Fix PROMPT and RPROMPT output, putting git info in RPROMPT.

cray
Mitch Tishmack 11 years ago
parent
commit
070cbc2230
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      zsh/.zshrc

+ 2
- 1
zsh/.zshrc View File

@@ -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_}"

Loading…
Cancel
Save