From af69e1dea2bb075eabd36891fc1e68df7a1a9b55 Mon Sep 17 00:00:00 2001 From: Predrag Mijatovic <8684411+predmijat@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:28:03 +0100 Subject: [PATCH] chore(doc): update Prezto completion --- docs/_index.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/_index.md b/docs/_index.md index bb639212e55..22a43e7bb27 100644 --- a/docs/_index.md +++ b/docs/_index.md @@ -348,6 +348,11 @@ In addition, the isolated virtual environment in which poetry is installed shoul ## Enable tab completion for Bash, Fish, or Zsh `poetry` supports generating completion scripts for Bash, Fish, and Zsh. + +{{% note %}} +You may need to restart your shell in order for these changes to take effect. +{{% /note %}} + See `poetry help completions` for full details, but the gist is as simple as using one of the following: ### Bash @@ -398,12 +403,10 @@ plugins( ) ``` -#### prezto +#### Prezto ```zsh poetry completions zsh > ~/.zprezto/modules/completion/external/src/_poetry ``` -{{% note %}} -You may need to restart your shell in order for these changes to take effect. -{{% /note %}} +If completions still don't work, try removing `~/.cache/prezto/zcompcache` and starting a new shell.