| 1 | ## completion |
| 2 | |
| 3 | Generate shell completion. |
| 4 | |
| 5 | ### Synopsis |
| 6 | |
| 7 | Generate shell completion for `kustomize` -- supports bash, zsh, fish and powershell. |
| 8 | |
| 9 | ### Examples |
| 10 | |
| 11 | # load completion for Bash |
| 12 | source <(kustomize completion bash) |
| 13 | |
| 14 | # install for Bash in Linux |
| 15 | kustomize completion bash > /etc/bash_completion.d/kustomize |
| 16 | |
| 17 | # install for Bash in MacOS |
| 18 | kustomize completion bash > /usr/local/etc/bash_completion.d/kustomize |
| 19 | |
| 20 | # package for Bash |
| 21 | kustomize completion bash > /usr/share/bash-completion/completions/kustomize |
| 22 | |
| 23 | # package for zsh |
| 24 | kustomize completion zsh > /usr/share/zsh/site-functions/_kustomize |
| 25 |