Update kn_completion for ZSH (#844)

Fixes: https://github.com/knative/client/issues/839
This commit is contained in:
Brian Tannous 2020-05-19 05:09:56 -05:00 committed by GitHub
parent 0df54bc500
commit c7d28d5401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ kn completion [SHELL] [flags]
# Generate completion code for zsh
source <(kn completion zsh)
compdef _kn kn
```
### Options

View File

@ -36,7 +36,8 @@ Supported Shells:
source <(kn completion bash)
# Generate completion code for zsh
source <(kn completion zsh)`
source <(kn completion zsh)
compdef _kn kn`
)
// NewCompletionCommand implements shell auto-completion feature for Bash and Zsh