feat: implement shell completion helpers#1075
Conversation
|
Let's merge this while we're working on the |
|
We need to decide on the API here. We now have a high-level command that is able to source completion files from a given directory. I think the question is whether the input to the API should be a the final directory (ie. The benefit of giving the final dir directly would be that for Otherwise we would be forced to do: WDYT @ruben-arts / @Hofer-Julian ? |
8f334cc to
ebcca59
Compare
|
I decided to do the following API: shell has an The sourcing of completions requires to give the full folder to the folder with completions then though. So we can put them into a different location for |
This is a bit of a starting point to add support for sourcing shell completions in rattler shell.