Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Zsh Completion - Bug report
- X-seq: zsh-workers 39079
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Stefano Balzan <stefano.balzan@xxxxxxxxx>
- Subject: Re: Zsh Completion - Bug report
- Date: Sat, 20 Aug 2016 03:07:38 +0000
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	daniel.shahaf.name; h=cc:content-transfer-encoding:content-type	:date:from:in-reply-to:message-id:mime-version:references	:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=lA0WhviLAgAOyO09	s0k479QcSTQ=; b=E6B1vzH0n86v4bP/8eguIGVekA/j3GjHF1/MLijYDlRp6GsD	jqFxgZv+S2XDDpYTG7wyQN6pna+YHFLoJRgYKzTSm4js9WqgxR/7KHo6pjZJ4tU7	bq6Lwp0eol7XxfrxSKm3eQjMfT8tzQFGYmHVVZhzmMbBBhlQ1iBrtRW1+hg=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=	messagingengine.com; h=cc:content-transfer-encoding:content-type	:date:from:in-reply-to:message-id:mime-version:references	:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=lA0WhviLAgAOyO0	9s0k479QcSTQ=; b=gkHYrnSJi4mQwRLMCOOr2NwJuB/j8wtRJ8bi7AqNS9Az0iM	mEsMXZFdbf3k7INO5pQnxmk5kzsLWSD8wtXD6wZLeQ1I4210psc68wfcXayoMhJM	tn0M7KzRCECTsk/ZMW6wNfxjgO25a9WmjoOdkpRcaZ6Yrx956PdOdl7IajwU=
- In-reply-to: <CAEimH9Ad+iraRCTnpFBOzrCv5gf=3cnJ=pspDFCSL1UMNakSbg@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAEimH9D2Nu1b7s2EHWkBM1EAtJyREHMMjcFod_1OCXsJD=ke6g@mail.gmail.com> <20160819155829.GA3389@fujitsu.shahaf.local2> <20160819172605.GG3597@sym.noone.org> <CAEimH9Ad+iraRCTnpFBOzrCv5gf=3cnJ=pspDFCSL1UMNakSbg@mail.gmail.com>
Stefano Balzan wrote on Fri, Aug 19, 2016 at 20:03:50 +0200:
> Thank you, I think your fix should do, pay attention to the typo Axel
> pointed out though.
Pushed with the correction — thanks everyone for the reviews.
> I'm no expert of the 'ip' command, anyway this is how I would add an arp
> entry:
> 
>  "ip neigh add 192.168.1.1 lladdr 12:34:56:78:ab:cd [other parameters]"
> 
> Probably the lladdr keyword (link layer address) should be suggested at
> argv[4], but I'm not completely sure.
Thanks for the example.  Currently, argv[4] in your command is completed
correctly but argv[3] completes as argv[4]; that is: completing argv[3]
offers lladdr and doesn't offer "an IP address".
It's probably not hard to fix, but I'll leave it to someone else...
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author