Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Menu completion on empty line
- X-seq: zsh-users 22079
- From: ml@xxxxxxxx
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Menu completion on empty line
- Date: Thu, 3 Nov 2016 07:17:06 +0000
- 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 gyus,
I was thinking having a kind of an action menu for a build directory of a c++ project.
If I press the tab key on an empty line and I am in a build directory, which can be
detected by a presence of, let's say the makefile file, it would be useful to get a menu
with items: clean build rebuild. I could use the tab key to move around these items.
If I choose one, it would expand to a particular command, like 'make clean'.
Setting anything like that is beyond my current knowledge of zsh. Any help / pointers as to
how to do that are appreciated.
Thanks,
kybu
Messages sorted by:
Reverse Date,
Date,
Thread,
Author