Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completions for su and implicit fg/bg
- X-seq: zsh-workers 7069
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: PATCH: completions for su and implicit fg/bg
- Date: Fri, 09 Jul 1999 12:04:15 +0200
- In-reply-to: "Oliver Kiddle"'s message of "Fri, 09 Jul 1999 11:23:06 DFT." <3785CD8A.4CAA6484@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Oliver Kiddle wrote:
> First, is a patch to _first which completes jobs after an initial % on
> the command line.
I think the code in _first was deliberately left commented because it gets
run every time, but the impact of this change is minimal.
> This is useful when foregrounding or backgrounding a
> process without fg/bg. This feature seems to be undocumented actually.
Hmm, I thought it was an option, but it seems it's run unconditionally at
the top of execcmd(). What is an option is AUTO_RESUME.
> I've included a basic completion for the
> common shells which just does the -c option.
It really needs to be told to treat a (possibly quoted) word after -c as a
complete command line. I've forgotten how to do that.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> Tel: +39 050 844536
WWW: http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy
Messages sorted by:
Reverse Date,
Date,
Thread,
Author