summaryrefslogtreecommitdiff
path: root/themes/frontcube.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2019-05-08 08:50:31 +0200
committerMarc Cornellà <marc.cornella@live.com>2019-05-08 08:50:31 +0200
commit76c7bd57c332b3d9231dc2c6167f3c5d3e56e110 (patch)
treeacdc36193f390e01f4144ff8feefd126b5aecd8b /themes/frontcube.zsh-theme
parentea3e666e04bfae31b37ef42dfe54801484341e46 (diff)
parent299cd4777a8b9da1934a1ed0c80767eea6691a70 (diff)
downloadzsh-76c7bd57c332b3d9231dc2c6167f3c5d3e56e110.tar.gz
zsh-76c7bd57c332b3d9231dc2c6167f3c5d3e56e110.tar.bz2
zsh-76c7bd57c332b3d9231dc2c6167f3c5d3e56e110.zip
Merge branch 'apjanke/themes-rvm-prompt-function' (#4588)
Fixes #4272 Fixes #4182 Closes #4197 Closes #4588
Diffstat (limited to 'themes/frontcube.zsh-theme')
-rw-r--r--themes/frontcube.zsh-theme5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/frontcube.zsh-theme b/themes/frontcube.zsh-theme
index 539e744f8..f9488d0ac 100644
--- a/themes/frontcube.zsh-theme
+++ b/themes/frontcube.zsh-theme
@@ -1,12 +1,13 @@
-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}'
+RPROMPT='$(git_prompt_info) $(ruby_prompt_info)'
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%}"
+ZSH_THEME_RUBY_PROMPT_PREFIX="%{$fg[green]%}["
+ZSH_THEME_RUBY_PROMPT_SUFFIX="]%{$reset_color%}"