mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-11-16 06:11:13 +00:00
11 lines
428 B
Plaintext
11 lines
428 B
Plaintext
|
# 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%}"
|