about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_comm10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 836aa9d1b..4986a1a78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-30  Clint Adams  <clint@zsh.org>
+
+	* 22435: Completion/Unix/Command/_comm: completion for
+	GNU comm.
+
 2006-04-28  Clint Adams  <clint@zsh.org>
 
 	* 22434, intrigeri@boum.org:
diff --git a/Completion/Unix/Command/_comm b/Completion/Unix/Command/_comm
new file mode 100644
index 000000000..30ca49911
--- /dev/null
+++ b/Completion/Unix/Command/_comm
@@ -0,0 +1,10 @@
+#compdef comm
+
+_arguments \
+  '-1[suppress lines unique to FILE1]' \
+  '-2[suppress lines unique to FILE2]' \
+  '-3[suppress lines that appear in both files]' \
+  '--help' \
+  '--version' \
+  '1:file1 to compare:_files' \
+  '2:file2 to compare:_files'