Re: Auto-complete very slow for make command, even using auto-complete code from master branch
Bart Schaefer <[email protected]>
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <CAH+w=7Zq9-+0F1_cmY2ry5SwQ3U+g0mBsF=HGAJiLgYUTfR75A@mail.gmail.com> |
On Sun, Jul 6, 2025 at 10:54 AM Marcos Alano <[email protected]> wrote: > > It seems to trigger the auto-complete but OpenWrt has a very big and > complex Makefile, with a lot of Makefiles across the repository. [...] > Any way to debug that to find the culprit? Typing ctl-x ? (two keystrokes) instead of TAB will invoke _complete_debug, which writes a log file in /tmp of everything executed. Most likely, however, it's spending most of its time in _make-parseMakefile, which for example when completing in the zsh sources runs for about 2100 commands, or about 2/3 of all the lines in the dump.