1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 04:24:38 +08:00
ohmyzsh/themes/frontcube.zsh-theme
Alexander Golikov 67abf0f955 Update frontcube.zsh-theme
Fix «rvm» variable usage in RPROMPT out
2015-10-22 16:58:44 +05:00

13 lines
480 B
Bash

local rvm="%{$fg[green]%}[$(rvm-prompt i v g)]%{$reset_color%}"
PROMPT='
%{$fg_bold[gray]%}%~%{$fg_bold[blue]%}%{$fg_bold[blue]%} % %{$reset_color%}
%{$fg[green]%}➞ %{$reset_color%'
RPROMPT='$(git_prompt_info) ${rvm}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}[git:"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}] %{$fg[red]%}✖ %{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}] %{$fg[green]%}✔%{$reset_color%}"