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

Nushell Support #9

Merged
merged 2 commits into from
Mar 5, 2024
Merged

Nushell Support #9

merged 2 commits into from
Mar 5, 2024

Conversation

cptpiepmatz
Copy link
Contributor

This PR adds support for Nushell.

whattheshell::Shell already supports Nushell, therefore this PR only needs to modify shell/mod.rs.

Since Nushell works great on Windows and Linux, some conditional compilation was necessary. Also Nushell doesn't support eval, therefore goup env will simply return valid Toml and the script for goup env -p will parse that output and load the env vars accordingly.

@zekroTJA
Copy link
Owner

zekroTJA commented Mar 5, 2024

Awesome, thank you very much for the contribution! <3

@zekroTJA zekroTJA merged commit 7fdf401 into zekroTJA:main Mar 5, 2024
3 checks passed
@cptpiepmatz cptpiepmatz deleted the nushell-support branch March 5, 2024 09:37
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