Stratus3D / asdf-lua

Lua plugin for asdf version manager. https://github.com/asdf-vm/asdf
MIT License
62 stars 13 forks source link

Modified exec-env and list-all files #6

Closed Pilgrim1379 closed 5 years ago

Pilgrim1379 commented 5 years ago

Added ".asdf" to line 3 in exec-env to fix "/Users/username/.asdf/plugins/lua/bin/exec-env: line 3: /Users/username/lib/utils.sh: No such file or directory".

Added lua version 5.3.5 to list-all

Stratus3D commented 5 years ago

@thepreacher I'm not sure why you needed to add the .asdf segment to the path. The existing code works fine for me. Did you install asdf with Git or Brew?

Pilgrim1379 commented 5 years ago

@Stratus3D I installed it with Git. Maybe that is the reason?

Stratus3D commented 5 years ago

Looking at the code I think we should probably stop sourcing that file and instead use the asdf where lua command to get the version and the path. In the meantime merging this code shouldn't hurt anything. Thanks for the PR!