mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +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
|
@ -1,5 +1,9 @@
|
|||
2000-04-19 Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
|
||||
|
||||
* 10828: Src/module.c, Src/Zle/zle_tricky.c: ensure zsh/compctl
|
||||
(ick!) module is loaded when zle is loaded from init file but
|
||||
zsh/complete isn't
|
||||
|
||||
* 10816: Completion/Core/_main_complete, Doc/Zsh/compsys.yo,
|
||||
Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: default for
|
||||
list-prompt style, %[MLP] use fixed-width strings, %[mlp] use
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
1671
Src/module.c
1671
Src/module.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue