Skip to content

Conversation

@Juhan280
Copy link

@Juhan280 Juhan280 commented Nov 4, 2025

nushell/nushell#15888 added support for completions to replace multiple arguments. This allows us to define a completion which replaces all the keywords with the correct file path upon accepting the path.

Also wrapped the whole script into a nushell module to prevent the completion command from polluting the command namespace. (That's why (the indentation) the diff is so messy, sorry)

This prevents the completion command "nu-complete __zoxide_z" from
polluting the command namespace.
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.

1 participant