Skip to content

Commit

Permalink
fixes the instructions to enable autocompletion in zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
nbro10 authored and neersighted committed Jun 16, 2022
1 parent 6d4c9fe commit 63afbd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,11 @@ poetry completions zsh > ~/.zprezto/modules/completion/external/src/_poetry
You may need to restart your shell in order for the changes to take effect.
{{% /note %}}

For `zsh`, you must then add the following line in your `~/.zshrc` before `compinit`:
For `zsh`, you must then add the following lines in your `~/.zshrc`

```bash
fpath+=~/.zfunc
autoload -Uz compinit && compinit
```

For `oh-my-zsh`, you must then enable poetry in your `~/.zshrc` plugins
Expand Down

0 comments on commit 63afbd3

Please sign in to comment.