Commit 63afbd32 by nbro10 Committed by Bjorn Neergaard

fixes the instructions to enable autocompletion in zsh

See https://superuser.com/q/1718843
parent 6d4c9fe6
...@@ -242,10 +242,11 @@ poetry completions zsh > ~/.zprezto/modules/completion/external/src/_poetry ...@@ -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. You may need to restart your shell in order for the changes to take effect.
{{% /note %}} {{% /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 ```bash
fpath+=~/.zfunc fpath+=~/.zfunc
autoload -Uz compinit && compinit
``` ```
For `oh-my-zsh`, you must then enable poetry in your `~/.zshrc` plugins For `oh-my-zsh`, you must then enable poetry in your `~/.zshrc` plugins
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment