zsh-workers
 help / color / mirror / code / Atom feed
* Completion for kill
@ 2001-03-23 15:10 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2001-03-23 15:10 UTC (permalink / raw)
  To: zsh-workers

This has just been annoying me: completion for kill insists on doing
menu completion: from zsh -f + compinit, create a couple of background
jobs and then type kill %<tab>. After pressing just one tab, menu
completion is entered with the first job completed in full on the
command-line. The behaviour I would like is exactly what you get with
fg %<tab> in the same situation where you need more tabs before menu
completion is used.

The situation is caused by _pids which _kill uses along with _jobs.
None of the possible values of the insert-ids style help. One solution
is if I add compstate[insert]=unambiguous to the end of _kill. Is there
a better solution to this. Surely _pids should only be messing about
with compstate[insert] if pids are the only thing being completed?

Oliver

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-03-23 15:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-23 15:10 Completion for kill Oliver Kiddle

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