about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/init.c b/Src/init.c
index 20e996fdd..efb4ce778 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -1021,7 +1021,7 @@ unsigned char *
 autoload_zleread(char *lp, char *rp, int ha)
 {
     zlereadptr = fallback_zleread;
-    load_module("zsh/zle");
+    load_module("zsh/zle") && load_module("zsh/compctl");
     return zleread(lp, rp, ha);
 }