Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct mise shell setting env in nushell #2393

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

samuelallan72
Copy link
Contributor

Functions in nushell that want to export environment variables must use the --env flag in the function definition. This flag was used on other functions in mise.nu as required (eg. update-env), however it seems that this flag is also required on the main function that manages updating the env for mise shell.

Currently `mise shell` doesn't have an effect in latest nushell.
Functions in nushell that want to export environment variables
must use the `--env` flag in the function definition.

This flag was used on other functions in mise.nu as required
(eg. update-env), however it seems that this flag is also required
on the `main` function that manages updating the env for `mise shell`.
@samuelallan72 samuelallan72 changed the title Fix mise shell setting env in nushell fix: correct mise shell setting env in nushell Jul 21, 2024
@jdx jdx enabled auto-merge (squash) October 3, 2024 14:15
@jdx jdx merged commit fad0457 into jdx:main Oct 3, 2024
12 checks passed
@samuelallan72 samuelallan72 deleted the env-nushell branch October 3, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants