From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9249 invoked by alias); 27 Oct 2013 21:06:22 -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: 18065 Received: (qmail 6962 invoked from network); 27 Oct 2013 21:06:17 -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 From: Bart Schaefer Message-id: <131027140621.ZM28130@torch.brasslantern.com> Date: Sun, 27 Oct 2013 14:06:21 -0700 In-reply-to: <20131027204439.GA17887@mugenguild.com> Comments: In reply to Valodim Skywalker "Re: How to capture a list of completions from a zle widget" (Oct 27, 9:44pm) References: <20131027204439.GA17887@mugenguild.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: How to capture a list of completions from a zle widget MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Oct 27, 9:44pm, Valodim Skywalker wrote: } } https://github.com/Valodim/zsh-capture-completion } } If it can be done in a less hacky way, I'd be all ears. The zpty magic that Valodim is doing there is all so that you can run the capture scripts as standalone programs. If you're just writing a widget to run inside ZLE, you don't need all that. BTW here's a working link to the old Unix Review article that explains how the "keeper" functions evolve: http://web.archive.org/web/20050207041146/http://www.unixreview.com/documents/s=9513/ur0501a/ur0501a.htm