zsh-users
 help / color / mirror / code / Atom feed
From: Anthony R Iano-Fletcher <Anthony.Iano-Fletcher@cbel.cit.nih.gov>
To: Sven Wischnowsky <wischnow@berkom.de>
Cc: zsh-users@sunsite.dk
Subject: Re: completion for fping (not rsync)?
Date: Wed, 23 Jan 2002 10:38:07 -0500	[thread overview]
Message-ID: <20020123153807.GA21276@argo.cit.nih.gov> (raw)
In-Reply-To: <15438.54627.391890.885390@wischnow.berkom.de>

Sorry, I seem to have confused the waters here. The completion I threw
out was for fping. I downloaded the completion for rsync but haven't
spent much time on it yet.

> > You mean something like:
> > 	_wanted hosts expl 'host name' _hosts
> > That does work better.....

> No, just the simple:
> 
>  _arguments ... \ # option descriptions here
>             '*:host name:_hosts'
> 

Brilliant. Thanks.....

> and nothing below that.  But of course, that can only be a first try
> at _rsync, given its complicated syntax, not all of which can be done
> with _arguments. So there probably should be either a state handling
> or a local utility function (called instead of the _hosts above) to
> handle the `[user@]host:(:|)(src|dest)' syntax.  For some of this,
> there are already utility functions, looking at how _ssh handles scp
> might help here.

yes this would be for rsync..... I'll work on that this afternoon. I was
going to peek at _scp, etc.. I did notice that _rsync seems to be
only half done.

			Thanks, Anthony.

-- 
Anthony R Iano-Fletcher        Anthony.Iano-Fletcher@nih.gov
                               http://cbel.cit.nih.gov/~arif
                               CBEL, CIT, NIH, Bethesda, MD, USA.
                               Phone: (+1) 301 402 1741.


      reply	other threads:[~2002-01-23 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-22 19:19 completion for rsync? Anthony R Iano-Fletcher
2002-01-22 19:54 ` Bart Schaefer
2002-01-23  8:40 ` Sven Wischnowsky
2002-01-23 15:02   ` Anthony R Iano-Fletcher
2002-01-23 15:23     ` Sven Wischnowsky
2002-01-23 15:38       ` Anthony R Iano-Fletcher [this message]

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=20020123153807.GA21276@argo.cit.nih.gov \
    --to=anthony.iano-fletcher@cbel.cit.nih.gov \
    --cc=wischnow@berkom.de \
    --cc=zsh-users@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).