diff --git a/docs/install.md b/docs/install.md index 51dbff88785d99f7f8ee60c05f03a97b125dce59..a6691dec83d6e2f59895ce56d931eb29e69d9439 100644 --- a/docs/install.md +++ b/docs/install.md @@ -143,6 +143,27 @@ pip uninstall silkaj --user silkaj ``` +## Shell completion + +Set up the shell completion by adding following line in your shell configuration depending on your shell: + +=== "Bash" + ```title="$HOME/.bashrc" + eval "$(_SILKAJ_COMPLETE=bash_source silkaj)" + ``` + +=== "Zsh" + ```title="$HOME/.zshrc" + eval "$(_SILKAJ_COMPLETE=zsh_source silkaj)" + ``` + +=== "Fish" + ```title="$HOME/.config/fish/completions/silkaj.fish" + _SILKAJ_COMPLETE=fish_source silkaj | source + ``` + +For further details checkout [Click documentation](https://click.palletsprojects.com/en/8.1.x/shell-completion/). + ## Install to contribute Check out the [installation guide with Poetry](/contributing/install_poetry/).