CHG git is supported, mercury and darcs removed, CHG to tabs.

This commit is contained in:
2025-06-22 01:30:28 +02:00
parent 2189eb4de2
commit 359d03f433

View File

@@ -21,10 +21,7 @@ ZSH_THEME_GIT_PROMPT_SHA_BEFORE="➤ %{$fg_bold[yellow]%}"
ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$reset_color%}" ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$reset_color%}"
function prompt_char() { function prompt_char() {
command git branch &>/dev/null && echo "%{$fg[green]%}±%{$reset_color%}" && return command git branch &>/dev/null && echo "%{$fg[green]%}±%{$reset_color%}" || echo "%{$fg[cyan]%}◯%{$reset_color%}"
command hg root &>/dev/null && echo "%{$fg_bold[red]%}☿%{$reset_color%}" && return
command darcs show repo &>/dev/null && echo "%{$fg_bold[green]%}❉%{$reset_color%}" && return
echo "%{$fg[cyan]%}◯%{$reset_color%}"
} }
# Colors vary depending on time lapsed. # Colors vary depending on time lapsed.