Skip to content

Commit

Permalink
docs: added missing shell argument to autocompletion snippet
Browse files Browse the repository at this point in the history
The documentation's snippet was missing the shell argument, so
the code was not working if added to the .bash_profile.
  • Loading branch information
GabriFedi97 committed Jan 3, 2023
1 parent 5098f75 commit e2c0c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/reference/completion.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit e2c0c50

Please sign in to comment.