2017-02-26 10:30:36 +00:00
|
|
|
|
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
2018-11-27 09:04:41 +00:00
|
|
|
|
local current_dir='%{$terminfo[bold]$fg[green]%}%~%{$reset_color%}'
|
2017-02-26 10:30:36 +00:00
|
|
|
|
local git_branch='$(git_prompt_info)%{$reset_color%}'
|
|
|
|
|
|
2018-11-27 09:04:41 +00:00
|
|
|
|
PROMPT="${current_dir} ${git_branch}
|
|
|
|
|
$ "
|
2017-02-26 10:30:36 +00:00
|
|
|
|
RPS1="${return_code}"
|
|
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|