Use the library function for ruby prompt

Not everyone uses rvm and the library has already got a function for this.
master
Halil Özgür 12 years ago
parent 23bbf3cc2b
commit 2b83accbf8
  1. 2
      themes/half-life.zsh-theme

@ -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%} '

Loading…
Cancel
Save