rvm: Only show version and patchset
This commit is contained in:
parent
1da5fd2ed7
commit
a41f2e81ae
|
@ -1365,7 +1365,7 @@ prompt_rspec_stats() {
|
||||||
################################################################
|
################################################################
|
||||||
# Segment to display Ruby Version Manager information
|
# Segment to display Ruby Version Manager information
|
||||||
prompt_rvm() {
|
prompt_rvm() {
|
||||||
local version_and_gemset=${$(rvm-prompt)/ruby-}
|
local version_and_gemset=${$(rvm-prompt v p)/ruby-}
|
||||||
|
|
||||||
if [[ -n "$version_and_gemset" ]]; then
|
if [[ -n "$version_and_gemset" ]]; then
|
||||||
"$1_prompt_segment" "$0" "$2" "240" "$DEFAULT_COLOR" "$version_and_gemset" 'RUBY_ICON'
|
"$1_prompt_segment" "$0" "$2" "240" "$DEFAULT_COLOR" "$version_and_gemset" 'RUBY_ICON'
|
||||||
|
|
Loading…
Reference in New Issue