Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion within a function



On Sat, Jan 2, 2021 at 5:21 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
>
> On Sat, Jan 2, 2021 at 6:54 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > ZDOTDIR=/tmp/empty-home zsh /tmp/complete-bart git --
>
> OK. That works, but it's not particularly useful; there's a difference
> between "git checkout<tab>" and "git checkout <tab>".

The latter is just

ZDOTDIR=/tmp/empty-home zsh /tmp/complete-bart git checkout ''




Messages sorted by: Reverse Date, Date, Thread, Author