TaKO8Ki / frum

A little bit fast and modern Ruby version manager written in Rust
MIT License
628 stars 15 forks source link

Get local/current version #129

Open mjhymowitz opened 1 year ago

mjhymowitz commented 1 year ago

Adding frum current command to get the ruby version running locally. Instead of using frum versions to get all ruby versions installed and the local version. frum current will return the active ruby version being used. If a version is set locally the local version is return else return global version.

mjhymowitz commented 1 year ago

This will likely reuse a lot of code from the src/commands/versions.rs file

mjhymowitz commented 1 year ago

nvm this looks like a lot more work than I first thought