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%}'
|
2019-03-12 17:33:05 +00:00
|
|
|
|
local firebase_project=%{$fg[cyan]%}'$(node ~/.oh-my-zsh/custom/getFirebaseProject.js $(pwd))'%{$reset_color%}
|
2017-02-26 10:30:36 +00:00
|
|
|
|
|
2019-03-12 17:33:05 +00:00
|
|
|
|
PROMPT="${current_dir} ${firebase_project} ${git_branch}
|
2018-11-27 09:04:41 +00:00
|
|
|
|
$ "
|
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%}"
|