From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23109 invoked by alias); 27 Oct 2013 20:51:38 -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: 18064 Received: (qmail 8416 invoked from network); 27 Oct 2013 20:51:25 -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 autolearn=ham version=3.3.2 Date: Sun, 27 Oct 2013 21:44:39 +0100 From: Valodim Skywalker To: Thiago Padilha Cc: zsh-users@zsh.org Subject: Re: How to capture a list of completions from a zle widget Message-ID: <20131027204439.GA17887@mugenguild.com> Mail-Followup-To: Thiago Padilha , zsh-users@zsh.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The only method known to me is by hooking compadd and some black magic: https://github.com/Valodim/zsh-capture-completion If it can be done in a less hacky way, I'd be all ears. - V --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlJtezcACgkQxCa+aHUWYdQ/yACfUvYEhy/LiqJrSMk2B8Xh1wPK YwUAn0qNvCGXz03q71u41HRm6Wsob6P/ =D9j8 -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--