From e2c0c50beadbecce6ceb2d1bb19fb60e4611728b Mon Sep 17 00:00:00 2001 From: Gabriele Fedi Date: Tue, 3 Jan 2023 13:01:19 +0100 Subject: [PATCH] docs: added missing shell argument to autocompletion snippet The documentation's snippet was missing the shell argument, so the code was not working if added to the .bash_profile. --- docs/book/src/reference/completion.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/src/reference/completion.md b/docs/book/src/reference/completion.md index 3e123de5d28..4e15dca47c6 100644 --- a/docs/book/src/reference/completion.md +++ b/docs/book/src/reference/completion.md @@ -25,7 +25,7 @@ The completion Bash script depends on [bash-completion](https://github.com/scop/ if [ -f /usr/local/share/bash-completion/bash_completion ]; then . /usr/local/share/bash-completion/bash_completion fi -. <(kubebuilder completion) +. <(kubebuilder completion bash) ``` - Restart terminal for the changes to be reflected.