Uninstalling Poetry Completions for zsh
Here’s how to enable: https://python-poetry.org/docs/#enable-tab-completion-for-bash-fish-or-zsh
Uninstalling a specific completion works as follows:
Navigate to `~/.zfunc
❯ cd .zfunc
❯ ll
Permissions Size User Date Modified Name
.rw-r--r-- 243 captivus 31 Aug 10:28 _convert-mp4-to-wav
.rw-r--r-- 13k captivus 10 Oct 2023 _poetry
.rw-r--r-- 273 captivus 28 Aug 14:20 _stccc-directory-scraper
To uninstall the Zsh completions for _convert-mp4-to-wav
, follow these steps:
- Remove the Completion File:
Delete the _convert-mp4-to-wav
file from your ~/.zfunc
directory:
rm ~/.zfunc/_convert-mp4-to-wav
- Update the Zsh Completion System:
After removing the file, you should update the Zsh completion system by running the following command:
compinit
- Reload Your Zsh Configuration:
Finally, reload your Zsh configuration to ensure that the changes take effect:
source ~/.zshrc
This will remove the completion for _convert-mp4-to-wav
from your Zsh setup.
Optionally, you can leave #2 and #3 for later, as the shell should reinitialize compinit when restarted.