From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23544 invoked by alias); 9 Feb 2011 08:11:50 -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: 15780 Received: (qmail 13979 invoked from network); 9 Feb 2011 08:11:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110209001134.ZM24236@torch.brasslantern.com> Date: Wed, 09 Feb 2011 00:11:34 -0800 In-reply-to: <96888.89621.qm@web112304.mail.gq1.yahoo.com> Comments: In reply to Wendell Hom "Re: zle -R does it support color?" (Feb 8, 10:15pm) References: <273791.72265.qm@web112305.mail.gq1.yahoo.com> <110208212527.ZM24140@torch.brasslantern.com> <96888.89621.qm@web112304.mail.gq1.yahoo.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: zle -R does it support color? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 8, 10:15pm, Wendell Hom wrote: } } The way my "completion" widget works is that when it is invoked, it } enters a loop and waits for the next key to be pressed. } } Every time a key is pressed, the new completion list is redisplayed } automatically. Have you looked at Functions/Zle/incremental-complete-word ? Thus spake "man zshcontrib": This allows incremental completion of a word. After starting this command, a list of completion choices can be shown after every character you type, which you can delete with ^H or DEL. Pressing return accepts the completion so far and returns you to normal editing (that is, the command line is _not_ immediately executed). You can hit TAB to do normal completion, ^G to abort back to the state when you started, and ^D to list the matches.