Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use ASDF_DIR variable to support Homebrew installs (elixir-editors#428)
Currently the `launch.sh` script will check for asdf in my home directory. As I am a Homebrew user, my asdf got installed to `/usr/local/opt/asdf`. For `launch.sh` to be able to detect it I've modified it for the use of `ASDF_DIR` if available and fall-back to the current behaviour if that's not set. asdf will set the [`ASDF_DIR` (see upstream source)][1] variable when it initializes, so this seems to be a reliable way to detect all sorts of customized asdf installations. [1]: https://github.com/asdf-vm/asdf/blob/master/asdf.sh#L14
- Loading branch information