Skip to content

Commit e2c0c50

Browse files
committed
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.
1 parent 5098f75 commit e2c0c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/src/reference/completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The completion Bash script depends on [bash-completion](https://github.com/scop/
2525
if [ -f /usr/local/share/bash-completion/bash_completion ]; then
2626
. /usr/local/share/bash-completion/bash_completion
2727
fi
28-
. <(kubebuilder completion)
28+
. <(kubebuilder completion bash)
2929
```
3030
- Restart terminal for the changes to be reflected.
3131

0 commit comments

Comments
 (0)