mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 20:50:34 +08:00
8 lines
339 B
Bash
8 lines
339 B
Bash
# Inspired by many other themes
|
|
PROMPT='[%*] %{$fg[cyan]%}%n%{$fg[magenta]%}➜%{$fg[green]%}%3~$(git_prompt_info)%{$reset_color%}» '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[blue]%}git(%{$fg[red]%}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=""
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}✗%{$fg[blue]%})"
|