about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-04-30 22:02:27 +0000
committerClint Adams <clint@users.sourceforge.net>2006-04-30 22:02:27 +0000
commit33185e23a33526077e4cac53443c43546dfff581 (patch)
treeb08b122e185269868aa8042654d4aa087951a08a
parentf52938607d0e2ad631efb193e2da14c6cb687552 (diff)
downloadzsh-33185e23a33526077e4cac53443c43546dfff581.tar.gz
zsh-33185e23a33526077e4cac53443c43546dfff581.tar.xz
zsh-33185e23a33526077e4cac53443c43546dfff581.zip
22435: completion for GNU comm.
-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'