zsh-users
 help / color / mirror / code / Atom feed
From: Yuri DElia <wavexx@users.sf.net>
To: zsh-users@zsh.org
Subject: Completion lists
Date: Tue, 13 Sep 2011 12:54:01 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110913T144601-8@post.gmane.org> (raw)

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<TAB>
program1
progman
progwhatever

I would like to highlight (in bold) the trailing/ambiguous part (typed in caps
here):

$ cd prog<TAB>
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<TAB>
...ram
...man
...whatever

Though I would prefer highlighting.

Thanks for any info.



             reply	other threads:[~2011-09-13 13:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13 12:54 Yuri DElia [this message]
2011-09-13 14:43 ` Bart Schaefer
2011-09-13 15:16   ` Yuri DElia
2011-09-13 16:07     ` Yuri DElia
2011-09-13 17:40       ` Bart Schaefer
2011-09-13 18:48         ` Yuri DElia
2011-09-16 21:04         ` Peter Stephenson
2011-09-16 21:07           ` Peter Stephenson
2011-09-13 16:29     ` Bart Schaefer
2011-09-13 17:11       ` Yuri DElia
2011-09-18 13:41   ` Yuri DElia
2011-09-18 13:48     ` Mikael Magnusson
     [not found]       ` <ed790212f803298ea33fd6091b9d5062@thregr.org>
2011-09-18 14:08         ` Mikael Magnusson
2011-09-18 14:35           ` Yuri D'Elia
2011-09-16 21:58 ` Tomasz Pala

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110913T144601-8@post.gmane.org \
    --to=wavexx@users.sf.net \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).