From: acevest Date: Sun, 10 Sep 2023 04:13:29 +0000 (+0800) Subject: ... X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/doc/roff.3.ps?a=commitdiff_plain;h=HEAD;p=acecode.git ... --- diff --git a/learn/zsh/mine.zsh-theme b/learn/zsh/mine.zsh-theme new file mode 100644 index 0000000..6f18fa8 --- /dev/null +++ b/learn/zsh/mine.zsh-theme @@ -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]%})"