about summary refs log tree commit diff
path: root/Src/Zle/computil.c
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-30 08:42:55 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-07-30 08:42:55 +0000
commit75d5e9bb8b42282935f54b6d4750aea7ae6d5844 (patch)
tree4f69df50376c8103fd4d3e5a086845f93310396b /Src/Zle/computil.c
parent1619df1c5d797c3b25fc3224e49cac358c7450f6 (diff)
downloadzsh-75d5e9bb8b42282935f54b6d4750aea7ae6d5844.tar.gz
zsh-75d5e9bb8b42282935f54b6d4750aea7ae6d5844.tar.xz
zsh-75d5e9bb8b42282935f54b6d4750aea7ae6d5844.zip
(15526)
Diffstat (limited to 'Src/Zle/computil.c')
-rw-r--r--Src/Zle/computil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c
index 552f5f745..12fafc71d 100644
--- a/Src/Zle/computil.c
+++ b/Src/Zle/computil.c
@@ -4281,9 +4281,7 @@ bin_compgroups(char *nam, char **args, char *ops, int func)
     SWITCHHEAPS(oldheap, compheap) {
 	while ((n = *args++)) {
 	    endcmgroup(NULL);
-	    begcmgroup(n, 0);
-	    endcmgroup(NULL);
-	    begcmgroup(n, CGF_NOSORT);
+	    begcmgroup(n, CGF_NOSORT|CGF_UNIQCON);
 	    endcmgroup(NULL);
 	    begcmgroup(n, CGF_UNIQALL);
 	    endcmgroup(NULL);
@@ -4291,7 +4289,9 @@ bin_compgroups(char *nam, char **args, char *ops, int func)
 	    endcmgroup(NULL);
 	    begcmgroup(n, CGF_UNIQALL);
 	    endcmgroup(NULL);
-	    begcmgroup(n, CGF_NOSORT|CGF_UNIQCON);
+	    begcmgroup(n, CGF_NOSORT);
+	    endcmgroup(NULL);
+	    begcmgroup(n, 0);
 	}
     } SWITCHBACKHEAPS(oldheap);