1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

First part: added Mercurial support.

This commit is contained in:
Dominik Ritter 2015-03-22 17:36:54 +01:00
parent 2d69716229
commit 59ef2a6106

View file

@ -33,12 +33,12 @@ RIGHT_SEGMENT_SEPARATOR=''
setopt prompt_subst
autoload -Uz vcs_info
zstyle ':vcs_info:*' stagedstr " %F{black}✚%f"
zstyle ':vcs_info:git:*' unstagedstr " %F{black}●%f"
zstyle ':vcs_info:git*' actionformats " %b %F{red}| %a%f"
zstyle ':vcs_info:git*' formats " %b%c%u%m"
zstyle ':vcs_info:*' unstagedstr " %F{black}●%f"
zstyle ':vcs_info:*' actionformats " %b %F{red}| %a%f"
zstyle ':vcs_info:*' formats " %b%c%u%m"
zstyle ':vcs_info:*' check-for-changes true
zstyle ':vcs_info:git*+set-message:*' hooks git-untracked git-aheadbehind git-remotebranch git-tagname
zstyle ':vcs_info:*' enable git
zstyle ':vcs_info:*' enable git hg
################################################################
# Prompt Segment Constructors