From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15793 invoked by alias); 17 Sep 2014 06:41:01 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19100 Received: (qmail 21172 invoked from network); 17 Sep 2014 06:40:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Yandex-Uniq: ddebea74-9edc-4092-960f-8a1e575c7ef7 From: "Vadim A. Misbakh-Soloviov" To: zsh-users@zsh.org Subject: Re: no tab completion with equo Date: Wed, 17 Sep 2014 13:27:22 +0700 Message-ID: <2438355.lmOzyVPZOc@note> User-Agent: KMail/4.14 (Linux/3.15.5-hardened-r1-note; KDE/4.14.0; x86_64; ; ) In-Reply-To: <87a95zmt65.fsf@cougar.home.aneadesign.com> References: <87vboon44t.fsf@cougar.home.aneadesign.com> <1936860.7jLd61Eyrh@note> <87a95zmt65.fsf@cougar.home.aneadesign.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6986334.lsGvS6RvMN"; micalg="pgp-sha1"; protocol="application/pgp-signature" --nextPart6986334.lsGvS6RvMN Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" (sorry, previous try was sent to you personally, but not to the list) (it's strange, that client hassuch reaction on your letters to the list= ). (anyway, resentit to the list) > When I completely cut out the tr part from the pipe, the error is the= same. >=20 > Do you mean this or something else? No. I not mean you should remove tr. I mean, you should start to dig he= re (and=20 replace that command with properone to get equo command list. For example, > equo --bashcomp Although, it'll be best to minimize equo calls on completion generation= (since=20 it is both slower and dangerous (nobody guarantee, that Fabio will not = change=20 syntax again tomorrow ;) Although, I guess, it is pretty ok to use > --bashcomp for first level completion. Also, as far as I looked in the equo and Entropy code, --bashcomp shou= ld not=20 have it's current behaviour of returning first-level arguments all the = time,=20 but should return proper arguments for each level. Unfortunately, it is= =20 broken, and probably, you (and me, lol) should poke Fabio (lxnay) about= that=20 on sabayon BZ or #sabayon-dev @ FreeNode. Alternativelly, it is possible to just make completion with manually=20= predefined arguments list (like I did for emerge in gentoo's zsh-comple= tion=20 package) and call equo only when it is really needed (packages completi= on and=20 so on). Anyway, it needs a bit more work, than just fix tr :) =2D-=20 Best regards, mva --nextPart6986334.lsGvS6RvMN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABAgAGBQJUGSnKAAoJECZQPTSbOzNLQ6MP+QE/8c1Cr5Nm6tz7Eh0Qz6F2 no9C9zTER0KBhdm4Tw8oBCk+0EvwpihXzfJhaMjTkrwRFWQ8INpQF1JzegpLpfHs pOS6Kt169gxH6ULcO4ueykLASiwEZGCD/ug8rLINVB1AvYFUGd3tk9UiCYWr7fkZ gIL7WhR0GXJG+9eLSwV6KsCQ4f0YvkbhO9CV4uXrSCYTu52cUzWjOS08N1HyN7iY bOelhF+SpCcD6bPUsnij+RYQVEhOGEfulTBnOSXIBrXWxorBZlVhq/ePmVEXuwwx 0th2JyVR5UJO30+7Q/okLR9wbR5mEZm2UMIchGk/app6BGjp9SjyYv6i5glIt9ld XRMHOh8+lDRZDMXK/2P3Q77Mf+/V4xTLfof71sEqDH47Rr1It5yTam4pWF0D9GBg IMAagh633HQpdGCHkvp4DIT3zZh72GlBM86nrAhl+f7y0Y/Komw51/9XgK0hK9Px 9aaLaS2zL0vEW1S0oVXZ2DuH+nw7RFuu0mlJpTtpmYcDbqS7whGk/vRM9/XWy0N/ SKo0V5lHy2usd/SvFaY3x9HPOVO/O4nvcVB/DWBaFisYo7zfLVJR3TbwaMC5VEhi UmpNKGZdApqXEnnjgSpdZ6tobBYYlL5xkwrJgiGA5QcGMNsdvAhSxwXnMpGTsjDc yzqVXaAlQhOSgkd2OHeb =yEWE -----END PGP SIGNATURE----- --nextPart6986334.lsGvS6RvMN--