Nushell support for Global packages by omerxx · Pull Request #2743 · jetify-com/devbox

Summary

To load global packages with Nushell the user is required to eval $(devbox global shellenv). Nushell doesn't have an eval equivalent and we need to:

  1. Convert the output
  2. Do this on the fly when the environment is loaded
  3. Maintain previous behavior

How was it tested?

Locally with Nushell based setup trying to load both bash and nu scripts.

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.