* Add test for nushell integration
* Add nushell to CI
* Fix brew installation search
* Fix to get current dir when ASDF_DIR is empty
* Remove complexity of asdf.nu
* Try a different approach to get info about function definition of asdf for MacOS 10.15
* Fix shims dir and fix test assertions to check path
* Add setup nushell to CI and remove rust compilation of nushell
* Add gh token to get a higher rate limit
* Change to use binary distribution of nushell instead compile it
* Skip test for older ubuntu
* Use single skipping check
* Remove unneeded condition in SKIP_NUSHELL_TESTS env var
* test: use actual result PATH for fish test
Fish uses space instead of colon for $PATH separator
* test: use actual result PATH for elvish and sh tests
If a .tool-versions file did not end with a newline new tools and
versions would get appended to the same line rather than properly
added on a new line in the file
Fixes#1299
* fix: always use ASDF_DEFAULT_TOOL_VERSIONS_FILENAME for filename when present
* fix: correct version command unit tests for ASDF_DEFAULT_TOOL_VERSIONS_FILENAME
Fixes#1082
Ban recusive asdf calls as they are inefficient and may introduce bugs.
If you find yourself needing to invoke an `asdf` command from within
asdf code, please source the appropriate file and invoke the
corresponding function.
* feat: upgrade elvish to 0.17.0
* Remove || and fix array slice
* Update elvish config path
* Tests use new path
* Escape $ in bats
* Fix legacy assignment in test
* Ban `ls` command
* Update banned commands test so it only checks bash and sh files
* Only allow `ls` for resolving symlinks
* Replace `ls` commands with `find`
* feat: Displays a warning when the plugin from the tools-version does not exist
When calling the install command, it tried to look for versions for all
the plugins available and installed them. With this change, it will attempt to
find versions for all the installed plugins and plugins defined in the
`.tool-versions`.
Fixes https://github.com/asdf-vm/asdf/issues/574
* feat: Changes the algorithm to detect not installed plugins
This patch changes the algorithm. It preserves the original logic for
the plugin resolution, but at the same time, reports entries with plugins not
available.
* fix: Addresses the pull request comments.
- Changes the comparison to be strict rather than partial.
- Prints a list of missing plugins.
- Exists if at least one plugin is not present.
- Adds unit tests.