Skip to content

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
@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