#114 Add asdf ruby version to ruby version prompt
Followed established pattern for chruby and rbenv, adding the ruby version number from asdf to the ruby prompt, only when the local ruby version differs from the system ruby. Note that asdf tracks its versions in a dot file (.tool-versions) so the concept of what is global/system vs what is local simply depends upon what file asdf is using to determine the correct version. Fortunately, asdf reports the .tool-versions file when querying for the current version. The downside to this is that correct behavior of this patch will depend upon the format asdf uses for their provenance string. See https://github.com/asdf-vm/asdf for details about asdfpull/126/head
parent
ab7123e063
commit
753189f173
Loading…
Reference in new issue