diff options
author | Julian Parsert <julian.parsert@gmail.com> | 2020-02-27 17:28:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-27 18:28:08 +0100 |
commit | dbd2f77bd9c13f017550ee6dae37ff95a2c3d183 (patch) | |
tree | 56d77080619ea8f7f13f9ea976a81d778efdbb96 | |
parent | 011c7153d589b52eb1d48fdf22d4f1438449be2b (diff) | |
download | zsh-dbd2f77bd9c13f017550ee6dae37ff95a2c3d183.tar.gz zsh-dbd2f77bd9c13f017550ee6dae37ff95a2c3d183.tar.bz2 zsh-dbd2f77bd9c13f017550ee6dae37ff95a2c3d183.zip |
norm: add hg prompt (#6725)
-rw-r--r-- | themes/norm.zsh-theme | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/norm.zsh-theme b/themes/norm.zsh-theme index 13077ccf5..bd7ca568a 100644 --- a/themes/norm.zsh-theme +++ b/themes/norm.zsh-theme @@ -1,4 +1,7 @@ -PROMPT='%{$fg[yellow]%}λ %m %{$fg[green]%}%c %{$fg[yellow]%}→ $(git_prompt_info)%{$reset_color%}' +PROMPT='%{$fg[yellow]%}λ %m %{$fg[green]%}%c %{$fg[yellow]%}→ $(git_prompt_info)$(hg_prompt_info)%{$reset_color%}' ZSH_THEME_GIT_PROMPT_PREFIX="λ %{$fg[blue]%}git %{$fg[red]%}" ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[yellow]%} → %{$reset_color%}" +ZSH_THEME_HG_PROMPT_PREFIX="λ %{$fg[blue]%}hg %{$fg[red]%}" +ZSH_THEME_HG_PROMPT_SUFFIX="%{$fg[yellow]%} → %{$reset_color%}" + |