Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: completion within a function
On Wed, Dec 30, 2020 at 4:12 PM Felipe Contreras
<felipe.contreras@xxxxxxxxx> wrote:
>
> On Wed, Dec 30, 2020 at 5:47 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > I presumed
> > compinit
> > zmodload zsh/zpty
>
> In a login shell or a script?
Either, but I was only trying it in an interactive shell.
> Using "autoload -U compinit && compinit" does make 'complete g' work
> for me in a script, but not 'complete "git --"' for example.
Yeah, see other email about -vared- context changing some things.
That'll take some digging to figure out.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author