How do I add a zsh plugin with prezto?
Im not very familiar with the whole zsh ecosystem and there is some stuff that has confused me.
Im using prezto (I know I dont need a framework) which has mostly all the things I need out of the box but I also want this: https://github.com/esc/conda-zsh-completion
How do I install plugins with prezto? Prezto has its own "modules" and there does not appear to be one for conda autocompletion. How to I install this plugin?
Does prezto not support installing zsh plugins and I have to install it manually?
- Inside Prezto's base dir, create a dir called
contrib
. - Inside this
contrib
dir,git clone
theconda-zsh-completion
plugin. - In your
~/.zpreztorc
file, addconda-zsh-completion
tozstyle ':prezto:load' pmodule
. - Restart your terminal.
To update the plugin, cd
into its dir and do git pull
.
Documentation on using external plugins with Prezto can be found here: https://github.com/sorin-ionescu/prezto#external-modules