Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion lists
- X-seq: zsh-users 16338
- From: Yuri DElia <wavexx@xxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Completion lists
- Date: Tue, 13 Sep 2011 12:54:01 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author