zsh-users
 help / color / mirror / code / Atom feed
* Menu completion on empty line
@ 2016-11-03  7:17 ml
  2016-11-06  2:01 ` Bart Schaefer
       [not found] ` <161105190150.ZM1605__20581.2434120618$1478397817$gmane$org@torch.brasslantern.com>
  0 siblings, 2 replies; 5+ messages in thread
From: ml @ 2016-11-03  7:17 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-11-07  6:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-03  7:17 Menu completion on empty line ml
2016-11-06  2:01 ` Bart Schaefer
2016-11-07  6:22   ` ml
     [not found] ` <161105190150.ZM1605__20581.2434120618$1478397817$gmane$org@torch.brasslantern.com>
2016-11-06  3:15   ` Daniel Shahaf
2016-11-06  3:41     ` Bart Schaefer

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).