Prezto is a modularized zsh framework, which I discovered after my oh-my-zsh setup became really slow. The bad part of Prezto: You need some knowledge how things are working behind the scenes. e.g. completions…

As I stumble over this every few months (recently for conda)

Dear future me, read this:

  1. Copy the new file into ~/.zprezto/modules/completion/external/src/. So in case you want to add conda completion, run this command:
    wget -O ~/.zprezto/modules/completion/external/src/_conda https://raw.githubusercontent.com/esc/conda-zsh-completion/master/_conda 
    
  2. Drop the compdump and the cache and run compinit once:
    rm -f ~/.zcompdump
    rm -rf ~/.cache/prezto/*
    compinit