Hacker News new | ask | show | jobs
by bPspGiJT8Y 780 days ago
> so I eventually gave up and just made fish itself my nushell's completion engine

That's an interesting idea. Do you have a link to show how you did this?

1 comments

Yeah! It's an officially supported thing with nushell, here are the docs: https://www.nushell.sh/cookbook/external_completers.html#fis...

The completions don't work sometimes (for instance you don't get completion for some commands when running them with sudo) and it doesn't fall back on providing file completions if it doesn't know what other completions to provide, which is a bit annoying, but it generally works and I'm sure there are ways to fix that too.