You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Nushell Cookbook provides a better snippet for custom zoxide completions.
It might be interesting to set it up via programs.zoxide.enableNushellIntegration.
Due to lack of experience with Nu and a slightly convoluted setup I don't know how to approach this problem myself.
Idea?
Speaking from ignorance, it might be possible to wire up some logic that dynamically adds custom external completions to Nushell based on programs enableNushellIntegration when relevant .
Implementation Idea
In the case of Zoxide, taking the code from the Cookbook:
If programs.zoxide.enableNushellIntegration = true; then add the following lines to the completions function:
Description
The Nushell Cookbook provides a better snippet for custom zoxide completions.
It might be interesting to set it up via
programs.zoxide.enableNushellIntegration
.Due to lack of experience with Nu and a slightly convoluted setup I don't know how to approach this problem myself.
Idea?
Speaking from ignorance, it might be possible to wire up some logic that dynamically adds custom external completions to Nushell based on programs
enableNushellIntegration
when relevant .Implementation Idea
In the case of Zoxide, taking the code from the Cookbook:
If
programs.zoxide.enableNushellIntegration = true;
then add the following lines to the completions function:Resulting in an hypothetical
multiple_completers
like:Pros
Cons
Thanks for your time. :)
The text was updated successfully, but these errors were encountered: