summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-09-28 08:42:16 +0000
committerClint Adams <clint@users.sourceforge.net>2007-09-28 08:42:16 +0000
commita5203292f3bbf7aa0720cf3c938ef4f9b114c3a0 (patch)
tree5c50774e9084475c1571bf8cda9f27e1ac7ff539
parente6b8e5ce4249b920146ff2ad1dc2d15fdd44a1ce (diff)
downloadzsh-a5203292f3bbf7aa0720cf3c938ef4f9b114c3a0.tar.gz
zsh-a5203292f3bbf7aa0720cf3c938ef4f9b114c3a0.tar.xz
zsh-a5203292f3bbf7aa0720cf3c938ef4f9b114c3a0.zip
Jesse Weinstein: 23848: completion for md5sum.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_md5sum9
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 55a062a4d..216bee2c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-28  Clint Adams  <clint@zsh.org>
+
+	* Jesse Weinstein: 23848: Completion/Unix/Command/_md5sum:
+	completion for md5sum.
+
 2007-09-27  Clint Adams  <clint@zsh.org>
 
 	* Mikael Magnusson: 23838: Completion/Unix/Command/_git: 
diff --git a/Completion/Unix/Command/_md5sum b/Completion/Unix/Command/_md5sum
new file mode 100644
index 000000000..0d0076292
--- /dev/null
+++ b/Completion/Unix/Command/_md5sum
@@ -0,0 +1,9 @@
+#compdef md5sum
+
+_arguments -S \
+    "-v[verbose, print file names when checking]" \
+    "-b[read files in binary mode]" \
+    "(*)-c[check message digests (default is generate)]:md5 digest file:_files -g \*.md5" \
+    "(-)*:file to digest:_files" 
+
+