From: Penny Leach Date: Sun, 13 Sep 2009 16:57:29 +0000 (+0200) Subject: Add a hook into zsh prompt for vcsh to insert information into X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=a377a83b60c5123f4f6a210231ee3ce5d05c80b1;p=dotfiles%2Fzsh.git Add a hook into zsh prompt for vcsh to insert information into --- diff --git a/.zsh.d/S03_prompt b/.zsh.d/S03_prompt index 4070305..472da54 100644 --- a/.zsh.d/S03_prompt +++ b/.zsh.d/S03_prompt @@ -17,6 +17,6 @@ precmd() { [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_" } -[[ "${PS1:-}" = '%m%# ' ]] && PS1="%m:%(1v.%F{red}%1v%f:.)%~%# " +[[ "${PS1:-}" = '%m%# ' ]] && PS1="%m:%(1v.%F{red}%1v%f:.)$PSEXTRA%~%# " # vim:ft=zsh