From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26795 invoked by alias); 13 Sep 2011 13:09:32 -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: 16338 Received: (qmail 4960 invoked from network); 13 Sep 2011 13:09:30 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.12 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Yuri DElia Subject: Completion lists Date: Tue, 13 Sep 2011 12:54:01 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 93.89.57.166 (Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Iceweasel/6.0.2) Hi everyone, I would like to customize how the completion list is shown in zsh, I a way similar to how current emacs does it. I've looking around, but found nothing. Whenever I complete a file prefix which is ambiguous, I get a list of the form: $ cd prog program1 progman progwhatever I would like to highlight (in bold) the trailing/ambiguous part (typed in caps here): $ cd prog progRAM progMAN progWHATEVER This would be a *huge* time saver for me. Often I find myself completing over a long set of files with a very similar name, and I really don't know *where* to look at. Bonus points if this works with complete_in_word. Having the unambiguous part with ellipses would also be fine (if any simpler to implement): $ cd prog ...ram ...man ...whatever Though I would prefer highlighting. Thanks for any info.