Re: [PATCH v2] completion: reduce overhead of clearing cached --options
- From
Dave Borowitz <dborowitz@google.com>
- Date
- Jun 7, 2018, 12:07 UTC
- Message-ID
- <CAD0k6qS_VoX-Pzfh5MDgcUzAyARy13WHKvNqLShzafWL9JMkgw@mail.gmail.com>
- In-Reply-To
- <20180607054834.GB6567@aiede.svl.corp.google.com>
On Thu, Jun 7, 2018 at 1:48 AM Jonathan Nieder <jrnieder@gmail.com> wrote:
> Whatever > I try, I end up with one of two results: either it uses zsh's standard > completion, or it spews a stream of errors about missing functions > like compgen. What am I doing wrong?
Try adding to the top of your .zshrc: autoload -U compinit; compinit autoload -U bashcompinit; bashcompinit
Those are both in my .zshrc, and I think they are sufficient magic to define compgen.