Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix zsh completion not working on the first time in a shell session (#…
…1237) The zsh completion script output by cobra is a stub completion function which replaces itself with the actual completion function. This technique enables cobra to define helper functions without splitting the completion script into multiple files. However, the current implementation forgets to call the actual completion function at the end of the stub function, meaning that completion won't work the first time it's invoked in a shell session. This commit is a fix for this problem.
- Loading branch information