diff --git a/zsh/.zshrc b/zsh/.zshrc index 6260c7b..66442a1 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -54,18 +54,19 @@ typeset -ga chpwd_functions add-zsh-hook precmd vcs_info -zstyle ':vcs_info:*' actionformats '%u%c %B%F{1}%a%f%%b (%F{3}%s%f) %F{5}%r%f:%F{4}%b%f %F{2}%S%f' +zstyle ':vcs_info:*' actionformats '%u%c%B%F{1}%a%f%%b %F{3}%s%f:%F{5}%r%f:%F{4}%b%f' zstyle ':vcs_info:*' enable bzr git hg svn -zstyle ':vcs_info:*' formats '%u%c (%F{3}%s%f) %F{5}%r%f:%F{4}%b%f %F{2}%S%f' -zstyle ':vcs_info:*' nvcsformats '%F{2}%~%f' +zstyle ':vcs_info:*' formats '%u%c%F{3}%s%f:%F{5}%r%f:%F{4}%b%f' +zstyle ':vcs_info:*' nvcsformats '' zstyle ':vcs_info:bzr:*' branchformat '%b' zstyle ':vcs_info:git:*' check-for-changes 1 zstyle ':vcs_info:*' stagedstr '%F{2}Δ%f' zstyle ':vcs_info:*' unstagedstr '%F{1}Δ%f' # Set the prompt. -PROMPT='${vcs_info_msg_0_} -%B%(?.%F{2}.%F{1})→%b ' +PROMPT='%T %2~ %B%(?.%F{2}.%F{1})→%b ' + +RPROMPT='${vcs_info_msg_0_}' # Set terminal name to current running application case $TERM in