Parcourir la source

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

cray
Mitch Tishmack il y a 11 ans
Parent
révision
070cbc2230
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      zsh/.zshrc

+ 2
- 1
zsh/.zshrc Voir le fichier

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

Chargement…
Annuler
Enregistrer