rkh / rbenv-whatis

24 stars 5 forks source link

Any way to filter on installed versions? #6

Open marcandre opened 3 years ago

marcandre commented 3 years ago

It would be nice to have a flag to enable/disable the part that uses ruby-build --definitions

$ rbenv versions
* system (set by /Users/mal/.rbenv/version)
  1.9.3-p551
  2.5.8
  2.6.6
  2.7.2
  3.0.0-dev
$ rbenv use 3
3.0.0-preview1 not installed

3.0.0-preview1 is both older, not installed and less useful than 3.0.0-dev (at least for me)

See also #1

Note: it is the behavior if someone isn't using ruby-build. Locally, I disabled those 3 lines

toy commented 9 months ago

@marcandre Now you can use --installed switch (c589d2540877a7a508028448168be8278e60c5f1)