Skip to content

Commit

Permalink
chore(doc): update Prezto completion
Browse files Browse the repository at this point in the history
  • Loading branch information
predmijat authored and abn committed Jan 17, 2025
1 parent 1b04d3c commit af69e1d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

0 comments on commit af69e1d

Please sign in to comment.