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 7071
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: "Oliver Kiddle" <opk@xxxxxxxxxxxxxxx>, "Zsh workers" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: PATCH: completions for su and implicit fg/bg
- Date: Fri, 9 Jul 1999 14:40:27 +0400
- Importance: Normal
- In-reply-to: <3785CD8A.4CAA6484@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Judging by _find, it seems that _normal is
> the way to do this but it would need the shell's name to be on the
> command-line. I've got it to work by pulling the relevant parts out of
> _normal and roughly repeating it.
Correct me if I'm wrong, but don't you simply need to setup $words and set
CURRENT to reflect the word to complete? Something like
words=(sh $words)
((CURRENT++))
_normal
/andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author