Re: [PATCH] completion: reduce overhead of clearing cached --options
- From
Jacob Keller <jacob.keller@gmail.com>
- Date
- Apr 16, 2018, 18:23 UTC
- Message-ID
- <CA+P7+xqVdhJ3PrGjQWcofHJV3E1UYWVHEXVt5yaV3Ycv1YvkTg@mail.gmail.com>
- In-Reply-To
- <86sh7xlxyp.fsf@gmail.com>
On Sat, Apr 14, 2018 at 6:27 AM, Jakub Narebski <jnareb@gmail.com> wrote:
Show 20 quoted lines
> SZEDER Gábor <szeder.dev@gmail.com> writes: >> On Fri, Apr 13, 2018 at 11:44 PM, Jakub Narebski <jnareb@gmail.com> wrote: >>> SZEDER Gábor <szeder.dev@gmail.com> writes: >>>> >>>> In Bash we can do better: run the 'compgen -v __gitcomp_builtin_' >>>> builtin command, which lists the same variables, but without a >>>> pipeline and 'sed' it can do so with lower overhead. >>> >>> What about ZSH? >> >> Nothing, ZSH is unaffected by this patch. > > All right, so for ZSH we would need LC_ALL=C trick, or come with some > equivalent of 'compgen -v __gitcomp_builtin_' for this shell. > > Good patch, though it does not solve whole of the problem. > > Best, > -- > Jakub Narębski
Is ZSH actually affected by the broken set behavior, though?
Thanks, Jake