mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 10:22:00 +00:00
10 lines
428 B
Bash
10 lines
428 B
Bash
# ZSH Theme - Preview: http://cl.ly/f701d00760f8059e06dc
|
|
# Thanks to gallifrey, upon whose theme this is based
|
|
|
|
local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
|
|
|
|
PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[blue]%}%2~%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b '
|
|
RPS1="${return_code}"
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"
|