mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 00:14:22 +08:00
Added own theme (based on robbyrussell)
This commit is contained in:
1 parent
dc12853b0c
commit
4e433eb6bb
1 file changed
+6
@@ -0,0 +1,6 @@
|
|||||||
|
PROMPT='%{$fg_bold[green]%}%p %{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$fg[red]%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
||||||
Reference in new issue
Block a user