2019-11-22 20:01:23 +01:00
|
|
|
|
# ZSH Theme - Preview: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes#gallifrey
|
2019-10-24 21:09:05 +02:00
|
|
|
|
return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
|
|
|
|
host_color="%(!.%{$fg[red]%}.%{$fg[green]%})"
|
2019-01-12 16:47:23 +01:00
|
|
|
|
|
2019-10-24 21:09:05 +02:00
|
|
|
|
PROMPT="${host_color}%m%{$reset_color%} %2~ \$(git_prompt_info)%{$reset_color%}%B»%b "
|
2019-01-12 16:47:23 +01:00
|
|
|
|
RPS1="${return_code}"
|
|
|
|
|
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}"
|
2019-10-24 21:09:05 +02:00
|
|
|
|
|
|
|
|
|
unset return_code host_color
|