Use the library function for ruby prompt

Not everyone uses rvm and the library has already got a function for this.
This commit is contained in:
Halil Özgür 2014-09-01 04:14:03 +03:00
parent 23bbf3cc2b
commit 2b83accbf8

View file

@ -95,4 +95,4 @@ function steeef_precmd {
}
add-zsh-hook precmd steeef_precmd
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%} '
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%} '