zsh-workers
 help / color / mirror / code / Atom feed
From: "Jörg Sommer" <joerg@alea.gnuu.de>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: _pon, poff
Date: Sun, 29 Oct 2006 12:46:14 +0000 (UTC)	[thread overview]
Message-ID: <slrnek98km.ffd.joerg@alea.gnuu.de> (raw)
In-Reply-To: <20061007085059.GA16931@scowler.net>

Hello Clint,

Clint Adams <clint@zsh.org> wrote:
> -provider=(/etc/ppp/peers/*(:t))
> +case "$service" in
> +  (pon)
>  
>  _arguments \
>    '(-q --quick)'{-q,--quick}'[hangs up after all ip-up scripts are run]' \
> -  '1:provider to call:(${provider[@]})'
> +  '1:provider to call:_files -W /etc/ppp/peers'

Only for my understanding: Why you can use _files here? Doesn't this tag
the completions as files even though they are hosts? Does this cause any
problems?

Bye, Jörg.
-- 
Ich halte ihn zwar für einen Schurken und das was er sagt für
falsch – aber ich bin bereit mein Leben dafür einzusetzen, daß
er seine Meinung sagen kann.		(Voltair)


  reply	other threads:[~2006-10-30 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-07  8:50 Clint Adams
2006-10-29 12:46 ` Jörg Sommer [this message]
2006-10-27 14:46   ` Peter Stephenson

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=slrnek98km.ffd.joerg@alea.gnuu.de \
    --to=joerg@alea.gnuu.de \
    --cc=zsh-workers@sunsite.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).