mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-22 16:20:23 +02:00
ensure zsh/compctl (ick!) module is loaded when zle is loaded from init file but zsh/complete isn't (10828)
This commit is contained in:
parent
6a7c002a7c
commit
ad0c81a554
3 changed files with 1480 additions and 198 deletions
|
@ -523,6 +523,9 @@ docomplete(int lst)
|
|||
if (undoing)
|
||||
setlastline();
|
||||
|
||||
if (!module_loaded("zsh/complete"))
|
||||
load_module("zsh/compctl");
|
||||
|
||||
if (runhookdef(BEFORECOMPLETEHOOK, (void *) &lst))
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue