about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/computil.c4
-rw-r--r--Src/Zle/computil.mdd2
-rw-r--r--Src/xmods.conf1
3 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index a79044d6e..b2c29d03e 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -291,9 +291,11 @@ bin_compdescribe(char *nam, char **args, char *ops, int func)
     }
     switch (args[0][1]) {
     case 'i':
+	cd_parsed = 1;
+	return cd_init(nam, "", args + 1, 0);
     case 'I':
 	cd_parsed = 1;
-	return cd_init(nam, args[1], args + 2, (args[0][1] == 'I'));
+	return cd_init(nam, args[1], args + 2, 1);
     case 'g':
 	if (cd_parsed) {
 	    int n = arrlen(args);
diff --git a/Src/Zle/computil.mdd b/Src/Zle/computil.mdd
index a1453ae8a..e4193610c 100644
--- a/Src/Zle/computil.mdd
+++ b/Src/Zle/computil.mdd
@@ -1,3 +1,5 @@
 moddeps="compctl zle"
 
 objects="computil.o"
+
+autobins="compdisplay compdescribe comparguments compvalues"
diff --git a/Src/xmods.conf b/Src/xmods.conf
index 6b7f1701a..7e5e2928a 100644
--- a/Src/xmods.conf
+++ b/Src/xmods.conf
@@ -4,3 +4,4 @@ zle
 compctl
 sched
 complist
+computil