zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _ranlib
@ 2007-10-01  1:58 Jesse W
  2007-10-01 13:22 ` Clint Adams
  0 siblings, 1 reply; 2+ messages in thread
From: Jesse W @ 2007-10-01  1:58 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Here's a ranlib completion function; comments welcomed, of course.

	Jesse Weinstein


[-- Attachment #2: _ranlib --]
[-- Type: application/octet-stream, Size: 753 bytes --]

#compdef ranlib

#based on the options in the libtool/ranlib from the
#OSX Compiler Tools, version cctools-495 (1999), 
#licensed under Apple Public Source License Version 2.0

#Written by Jesse Weinstein <jessw@netwood.net>
#Sun Sep 30 18:56:44 2007
#Released into the public domain.

#TODO: specify customary extensions for the archive files operated on by 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"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PATCH: _ranlib
  2007-10-01  1:58 PATCH: _ranlib Jesse W
@ 2007-10-01 13:22 ` Clint Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Clint Adams @ 2007-10-01 13:22 UTC (permalink / raw)
  To: Jesse W; +Cc: zsh-workers

On Sun, Sep 30, 2007 at 06:58:38PM -0700, Jesse W wrote:
> Here's a ranlib completion function; comments welcomed, of course.

Committed.  I'll add support for binutils's ranlib later if I remember.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-01 13:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01  1:58 PATCH: _ranlib Jesse W
2007-10-01 13:22 ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).