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

Re: completion within a function



On Wed, Dec 30, 2020 at 12:43 PM Bart Schaefer
<schaefer@xxxxxxxxxxxxxxxx> wrote:
>
>   complete() {
>     local -i n=$argc
>     zpty complete-tty run-complete "$@"
>     zpty -r complete-tty
>     zpty -d complete-tty
>   }
>
> [...] some more could be
> done to separate the context from the results.

I started on that (hence n=$argc) but ran out of time.




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