style(afowler): Change color of the :: characters based on prev command exit code

This commit is contained in:
Thang Do 2025-01-02 14:27:33 +10:30
parent 612f9f59ca
commit 185274e75a
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
PROMPT='%m %B%F{blue}:: %b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(?.%F{blue}.%F{red})»%f%b ' PROMPT='%m %B%(?.%F{blue}.%F{red}):: %f%b%F{green}%3~ $(hg_prompt_info)$(git_prompt_info)%B%(?.%F{blue}.%F{red})»%f%b '
RPS1='%(?..%F{red}%? ↵%f)' RPS1='%(?..%F{red}%? ↵%f)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"