I have written bash-completion for a command line utility.
I need to support zsh.
What is the best/standard way to maintain completion for bash and zsh?
I could write separate zsh-completion but I don't want to maintain separate completion for each shell.
I could use bash-completion in zsh (like this) but I don't want to force my users to manually set up the tool or to modify their ~/.zshrc
during installation.
Other people will install this utility using Homebrew/Linuxbrew. I can modify the installation Formula.