about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-10-01 13:22:02 +0000
committerClint Adams <clint@users.sourceforge.net>2007-10-01 13:22:02 +0000
commite0afddb812e1ae13b1e82ed0bc8321a3f33b32a5 (patch)
treeac0486344c096414616f38abe3404d6a6b18d5aa
parentcac51ee8c3d155531d4f996dcd66fe497739661c (diff)
downloadzsh-e0afddb812e1ae13b1e82ed0bc8321a3f33b32a5.tar.gz
zsh-e0afddb812e1ae13b1e82ed0bc8321a3f33b32a5.tar.xz
zsh-e0afddb812e1ae13b1e82ed0bc8321a3f33b32a5.zip
Jesse Weinstein: 23878: completion for ranlib.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_ranlib13
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d037216bd..95ab8bb98 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-10-01  Clint Adams  <clint@zsh.org>
+
+	* Jesse Weinstein: 23878: Completion/Unix/Command/_ranlib:
+	completion for ranlib.
+
 2007-09-30  Clint Adams  <clint@zsh.org>
 
 	* 23875: Completion/Unix/Command/_git: complete heads, tags, and
diff --git a/Completion/Unix/Command/_ranlib b/Completion/Unix/Command/_ranlib
new file mode 100644
index 000000000..a506ea70a
--- /dev/null
+++ b/Completion/Unix/Command/_ranlib
@@ -0,0 +1,13 @@
+#compdef ranlib
+
+_arguments \
+    "(-a)-s[preferred type ToC (default)]" \
+    "(-s)-a[original type ToC]" \
+    "-c[include common symbols]" \
+    "(-T)-L[4.4bsd archive extended format #1 (default)]" \
+    "(-L)-T[truncate names to 16 chars, per pre-4.4.bsd format]" \
+    "-f[warn about fat archives]" \
+    "-t[do not rebuild ToC (ignored)]" \
+    "(-)-[no more options]" \
+    "1:archive: _files"
+