mirror of
https://github.com/ChesterYue/ohmyzsh-theme-passion.git
synced 2026-07-21 20:11:03 +00:00
[U] git status format
This commit is contained in:
parent
71b012c6fc
commit
14030811e7
1 changed files with 3 additions and 3 deletions
|
|
@ -59,10 +59,10 @@ function directory() {
|
||||||
|
|
||||||
|
|
||||||
# git
|
# git
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_no_bold[blue]%}git(%{$fg_no_bold[red]%}";
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_no_bold[cyan]%}[git %{$fg_no_bold[red]%}";
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} ";
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} ";
|
||||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_no_bold[blue]%}) 🔥";
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg_no_bold[cyan]%}] 🔥";
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_no_bold[blue]%})";
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg_no_bold[cyan]%}]";
|
||||||
|
|
||||||
function update_git_status() {
|
function update_git_status() {
|
||||||
GIT_STATUS=$(git_prompt_info);
|
GIT_STATUS=$(git_prompt_info);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue