summaryrefslogtreecommitdiff
path: root/themes/murilasso.zsh-theme
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-12-13 17:12:31 +0100
committerMarc Cornellà <hello@mcornella.com>2021-12-13 17:14:25 +0100
commite3bb6e685dc0325f472a4cfadb9847add12ec699 (patch)
treea7b31f17a590f6c550f3e002cf396ba5e10e15e6 /themes/murilasso.zsh-theme
parentaa99472c8ac5bdd111ea306e800bb152fb8580ac (diff)
downloadzsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.tar.gz
zsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.tar.bz2
zsh-e3bb6e685dc0325f472a4cfadb9847add12ec699.zip
refactor(themes): use `ruby_prompt_info` everywhere
Diffstat (limited to 'themes/murilasso.zsh-theme')
-rw-r--r--themes/murilasso.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/murilasso.zsh-theme b/themes/murilasso.zsh-theme
index bc2b9b224..d46874c54 100644
--- a/themes/murilasso.zsh-theme
+++ b/themes/murilasso.zsh-theme
@@ -1,7 +1,7 @@
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
local user_host='%{$terminfo[bold]$fg[green]%}%n@%m%{$reset_color%}'
local current_dir='%{$terminfo[bold]$fg[blue]%}%~%{$reset_color%}'
-local rvm_ruby='%{$fg[red]%}$(rvm_prompt_info || rbenv_prompt_info)%{$reset_color%}'
+local rvm_ruby='%{$fg[red]%}$(ruby_prompt_info)%{$reset_color%}'
local git_branch='%{$fg[blue]%}$(git_prompt_info)%{$reset_color%}'
PROMPT="${user_host}:${current_dir} ${rvm_ruby}