Skip to content
Browse files

fix marking default/current in rvm list, fix #737

  • Loading branch information...
1 parent 64901be commit 95952384286b62a2a031d68efba2fb611e855c63 @mpapis mpapis committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/list
View
4 scripts/list
@@ -256,10 +256,10 @@ list_rubies()
fi
current_ruby="$( __rvm_env_string )"
- current_ruby="${current_ruby%${rvm_gemset_separator:-"@"}.*}"
+ current_ruby="${current_ruby%${rvm_gemset_separator:-"@"}*}"
default_ruby="$( "$rvm_scripts_path/alias" show default 2>/dev/null )"
- default_ruby="${default_ruby%${rvm_gemset_separator:-"@"}.*}"
+ default_ruby="${default_ruby%${rvm_gemset_separator:-"@"}*}"
printf "%b" "\nrvm rubies\n\n"

0 comments on commit 9595238

Please sign in to comment.
Something went wrong with that request. Please try again.