Configure asdf's legacy_version_file setting

asdf has a very useful configuration setting called
`legacy_version_file`. When it is set to `yes`, asdf will read the
version files used by other version managers (e.g. `.ruby-version`) in
addition to asdf's own `.tool-versions` file. This makes the migration
to asdf much smoother, as many projects only specify these 'legacy'
dotfiles for versioning.

Documentation: https://asdf-vm.com/#/core-configuration?id=homeasdfrc

Closes https://github.com/thoughtbot/dotfiles/issues/654
This commit is contained in:
Tyson Gach 2020-02-23 16:37:32 -05:00 committed by Geoff Harcourt
parent d657a32ba5
commit aaa2c3cd09

1
asdfrc Normal file
View file

@ -0,0 +1 @@
legacy_version_file = yes