mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 06:10:09 +08:00
9 lines
555 B
Bash
9 lines
555 B
Bash
#PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
|
|
PROMPT="%{$fg_bold[cyan]%}%T%{$fg_bold[green]%} %{$fg_bold[white]%}%n%{$fg[magenta]%}@%{$fg_bold[white]%}%m %{$fg_bold[green]%}%d
|
|
%{$fg_bold[yellow]%}%% $(git_prompt_info)%{$reset_color%}"
|
|
|
|
#ZSH_THEME_GIT_PROMPT_PREFIX="git:(%{$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]%})"
|