mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 00:39:54 +08:00
12 lines
443 B
Bash
12 lines
443 B
Bash
# Oh-my-Zsh prompt created by gianu
|
|
#
|
|
# github.com/gianu
|
|
# sgianazza@gmail.com
|
|
|
|
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ '
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}"
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$reset_color%}"
|
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}"
|