mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 17:57:34 +08:00
8 lines
258 B
Bash
8 lines
258 B
Bash
PROMPT='%F{green}%2c%F{blue} [%f '
|
|
RPROMPT='$(git_prompt_info) %F{blue}] %F{green}%D{%L:%M} %F{yellow}%D{%p}%f'
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%F{yellow}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=" %F{red}*%f"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|