Compare commits

...

3 Commits

Author SHA1 Message Date
Thang Do c05a08803d
Merge 185274e75a into d689aa289e 2025-01-19 11:20:23 +01:00
Thang Do 185274e75a style(afowler): Change color of the :: characters based on prev command exit code 2025-01-02 14:27:33 +10:30
Thang Do 612f9f59ca style(afowler): Change caret color based on previous command exit code
Blue for success (returns 0 exit code)
Red for failed (return non-zero exit code)
2025-01-01 22:30:38 +10:30
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{red}.%F{blue})»%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)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}"