diff options
author | Frank Van Damme <frank.van.damme@vub.ac.be> | 2017-01-10 09:23:49 +0100 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-12-13 11:17:13 +0100 |
commit | a1a63f4c7d3e765ffc4af93793d6d45287e80291 (patch) | |
tree | e3c82ecbc0d2fedd2a337dc8d50821b2c4b7c1b8 /themes/afowler.zsh-theme | |
parent | ee46d198ad94c3e4942f2557b6ecade5f9224b3e (diff) | |
download | zsh-a1a63f4c7d3e765ffc4af93793d6d45287e80291.tar.gz zsh-a1a63f4c7d3e765ffc4af93793d6d45287e80291.tar.bz2 zsh-a1a63f4c7d3e765ffc4af93793d6d45287e80291.zip |
feat(afowler): add mercurial support
Closes #5992
Diffstat (limited to 'themes/afowler.zsh-theme')
-rw-r--r-- | themes/afowler.zsh-theme | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/afowler.zsh-theme b/themes/afowler.zsh-theme index 783bdc269..f6d3ef82a 100644 --- a/themes/afowler.zsh-theme +++ b/themes/afowler.zsh-theme @@ -1,5 +1,10 @@ -PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(git_prompt_info)%B%(!.%F{red}.%F{blue})»%f%b ' +PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(!.%F{red}.%F{blue})»%f%b ' RPS1='%(?..%F{red}%? ↵%f)' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" + +ZSH_THEME_HG_PROMPT_PREFIX="%{$fg[magenta]%}hg:‹%{$fg[yellow]%}" +ZSH_THEME_HG_PROMPT_SUFFIX="%{$fg[magenta]%}› %{$reset_color%}" +ZSH_THEME_HG_PROMPT_DIRTY=" %{$fg[red]%}✗" +ZSH_THEME_HG_PROMPT_CLEAN="" |