]> Zhao Yanbai Git Server - acecode.git/commitdiff
... master
authoracevest <zhaoyanbai@126.com>
Sun, 10 Sep 2023 04:13:29 +0000 (12:13 +0800)
committeracevest <zhaoyanbai@126.com>
Sun, 10 Sep 2023 04:13:29 +0000 (12:13 +0800)
learn/zsh/mine.zsh-theme [new file with mode: 0644]

diff --git a/learn/zsh/mine.zsh-theme b/learn/zsh/mine.zsh-theme
new file mode 100644 (file)
index 0000000..6f18fa8
--- /dev/null
@@ -0,0 +1,7 @@
+PROMPT="%U%B%{$fg[red]%}%M%{$reset_color%}%b%u %(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
+PROMPT+=' %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
+
+ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"