Skip to content

Move Zoxide completer to cookbook#1934

Merged
ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:zoxide-cookbook
Jun 10, 2025
Merged

Move Zoxide completer to cookbook#1934
ysthakur merged 1 commit into
nushell:mainfrom
ysthakur:zoxide-cookbook

Conversation

@ysthakur
Copy link
Copy Markdown
Member

@ysthakur ysthakur commented Jun 10, 2025

This simply takes the completer added in #1847 and moves it to a new Custom Completers page in the Cookbook.

Although @132ikl suggested adding the Zoxide completer to the External Completers page and renaming that page to Completions/Completers, I figured custom and external completers are different enough that we should separate them. I don't feel strongly about this, though, so I can move the Zoxide completer to the External Completers page if anyone wants.

I also added another Zoxide completer. Unlike the simple completer, this should work with multiple keywords, but the suggestions look funky (this is because custom completers can't yet specify spans). I'd appreciate it if someone could test out this second completer, in case I missed something.

@ysthakur ysthakur added the documentation Improvements or additions to documentation label Jun 10, 2025
@ysthakur ysthakur merged commit 76175ae into nushell:main Jun 10, 2025
2 checks passed
@ysthakur ysthakur deleted the zoxide-cookbook branch June 10, 2025 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants