2b83accbf8d8668f4b46e449087317dc90a43873

Author
Halil Özgür <halil.ozgur@gmail.com>
Committer
Halil Özgür <halil.ozgur@gmail.com>
Date

Message

Use the library function for ruby prompt

Not everyone uses rvm and the library has already got a function for this.

Diff

 1diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme
 2index 1bf4c74322f2f6cef0836378de959251edb74b30..942affa94dc3a746ff8895048cb151abd303af64 100644
 3--- a/themes/half-life.zsh-theme
 4+++ b/themes/half-life.zsh-theme
 5@@ -95,4 +95,4 @@ function steeef_precmd {
 6 }
 7 add-zsh-hook precmd steeef_precmd
 8 
 9-PROMPT=$'%{$purple%}%n%{$reset_color%} in %{$limegreen%}%~%{$reset_color%}$(rvm-prompt " with%{$fg[red]%} " v g "%{$reset_color%}")$vcs_info_msg_0_%{$orange%} λ%{$reset_color%} '
10+PROMPT=$'%{$purple%}%n%{$reset_color%} in %{$limegreen%}%~%{$reset_color%}$(ruby_prompt_info " with%{$fg[red]%} " v g "%{$reset_color%}")$vcs_info_msg_0_%{$orange%} λ%{$reset_color%} '