Repository navigation
fix nu --plugins handling - #18500
Merged
Merged
Conversation
Contributor
|
@fdncred Hi! Maybe this isn't a practical demand but when the lib/plugins flags of the nu executable are changed in a backward-incompatible manner, is it possible to give me a heads up? That's because https://github.com/ypares/nushellWith depends on them. |
YPares
pushed a commit
to YPares/nushellWith
that referenced
this pull request
Jul 15, 2026
YPares
pushed a commit
to YPares/nushellWith
that referenced
this pull request
Jul 15, 2026
Contributor
Author
|
ya, probably not practical but I will try and remember. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A bug was reported on Discord that disallowed the
--pluginsfrom working. The problem was, when using with a shebang this would happennu --plugins '/usr/share/nutext/nu_plugin_nutext' /path/to/rhino-pkgand then nushell would puke because the cli parsing thinks/path/to/rhino-pkgis another plugin but it's named wrong, which is wrong of course.The fix is to allow only 1 item to be passed as a plugin instead of many. This is what is acceptible now.
User-facing changes (Release notes)
Fixed
nu --pluginshandlingThe nushell cli parsing now supports the
--pluginsparameter in these variationsAdditional notes