Closed algal closed 5 years ago
The project README says the following:
To add tab completion for your shell (replace bash with the name of your preferred shell, and .bashrc with your shell's config script): $ fe2 -- --completion bash > ~/.fe2-completion
To add tab completion for your shell (replace bash with the name of your preferred shell, and .bashrc with your shell's config script):
$ fe2 -- --completion bash > ~/.fe2-completion
But all these invocations generate exactly the same file, a file of bash completions:
fe2 -- --completion bash > ~/.fe2-completion fe2 -- --completion fish > ~/.fe2-completion fe2 -- --completion zsh > ~/.fe2-completion fe2 -- --completion sh > ~/.fe2-completion fe2 -- --completion csh > ~/.fe2-completion
That's odd. According to the Fire docs, it should work for fish. I'll add a note this may be broken upstream. https://github.com/google/python-fire/blob/master/docs/using-cli.md#completion-flag
The project README says the following:
But all these invocations generate exactly the same file, a file of bash completions: