2011-05-27 05:56:45 +02:00
|
|
|
|
|
2019-12-19 03:07:30 +01:00
|
|
|
|
local user='%F{magenta}%n@%F{magenta}%m%f'
|
|
|
|
|
local pwd='%F{blue}%~%f'
|
|
|
|
|
local return_code='%(?..%F{red}%? ↵%f)'
|
|
|
|
|
local git_branch='$(git_prompt_status)%f$(git_prompt_info)%f'
|
2011-05-27 05:56:45 +02:00
|
|
|
|
|
2015-11-06 23:20:11 +01:00
|
|
|
|
ZSH_THEME_RVM_PROMPT_OPTIONS="i v g"
|
2019-12-19 03:07:30 +01:00
|
|
|
|
ZSH_THEME_GIT_PROMPT_PREFIX="%F{green}"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%f"
|
2011-05-27 05:56:45 +02:00
|
|
|
|
ZSH_THEME_GIT_PROMPT_DIRTY=""
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
|
|
|
|
|
2019-12-19 03:07:30 +01:00
|
|
|
|
ZSH_THEME_GIT_PROMPT_ADDED="%F{green} ✚"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_MODIFIED="%F{blue} ✹"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_DELETED="%F{red} ✖"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_RENAMED="%F{magenta} ➜"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_UNMERGED="%F{yellow} ═"
|
|
|
|
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%F{cyan} ✭"
|
2011-05-27 05:56:45 +02:00
|
|
|
|
|
2019-12-19 03:07:30 +01:00
|
|
|
|
ZSH_THEME_RUBY_PROMPT_PREFIX="%F{green}‹"
|
|
|
|
|
ZSH_THEME_RUBY_PROMPT_SUFFIX="›%f"
|
2015-11-06 23:20:11 +01:00
|
|
|
|
|
2011-05-27 05:56:45 +02:00
|
|
|
|
PROMPT="${user} ${pwd}$ "
|
2015-11-06 23:20:11 +01:00
|
|
|
|
RPROMPT="${return_code} ${git_branch} \$(ruby_prompt_info)"
|