zsh-workers
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: complete rpm --{resign,addsign} in local
Date: Mon, 05 Jun 2000 10:47:34 +0100	[thread overview]
Message-ID: <393B7736.13C3C00B@u.genie.co.uk> (raw)
In-Reply-To: <1000605011855.ZM20257@candle.brasslantern.com>

Bart Schaefer wrote:

> Meanwhile, it ought to complete http URLs as well as ftp.

>    package_file)
> -    if compset -P ftp://; then
> +    if compset -P '(f|ht)tp://'; then
>        _hosts -S/ && ret=0
>      else

Shouldn't we be calling _urls here instead of partially repeating it? It
shouldn't be too hard to adapt _urls to pass any -g options to any
_files so we could tell it here to complete .rpm files only. The only
slightly messy part would be preventing it from completing gopher and
file urls; any ideas? Maybe _urls should have an option to restrict the
url types.
I can make these changes but don't use rpm so it'd be useful to hear if
anyone thinks this would be useful.

Peter: A build I set off on Saturday on AIX has failed with one of the
usual dependency problems so don't make any releases until I've commited
a patch which may be a while later today as our old RS/6000s take quite
a while to do a build.

Oliver


  reply	other threads:[~2000-06-05  9:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-05  8:54 Sven Wischnowsky
2000-06-04 19:37 ` Chmouel Boudjnah
2000-06-04 21:09   ` Clint Adams
2000-06-05  1:13     ` Bart Schaefer
2000-06-05  1:18   ` Bart Schaefer
2000-06-05  9:47     ` Oliver Kiddle [this message]
2000-06-05 15:03       ` Bart Schaefer
2000-06-06  9:56 Sven Wischnowsky
2000-06-07  8:01 Sven Wischnowsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=393B7736.13C3C00B@u.genie.co.uk \
    --to=opk@u.genie.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).