mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
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:
parent
23bbf3cc2b
commit
2b83accbf8
1 changed files with 1 additions and 1 deletions
|
@ -95,4 +95,4 @@ function steeef_precmd {
|
||||||
}
|
}
|
||||||
add-zsh-hook precmd 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…
Reference in a new issue