Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
job completion (was Re: PATCH: pws-24: Stop the unbearable beeping of magic-space)
- X-seq: zsh-workers 6889
- From: Oliver Kiddle <opk@xxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: job completion (was Re: PATCH: pws-24: Stop the unbearable beeping of magic-space)
- Date: Mon, 28 Jun 1999 10:03:21 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <9906271325.AA36984@xxxxxxxxxxxxxxxxx>
Peter Stephenson wrote:
>
> "Bart Schaefer" wrote:
> > Line numbers below may be off a bit, because I also got annoyed by Oliver
> > Kiddle's patch from 6772. Gosh, I actually went one whole revision of zsh
> > without having to either put in or maintain a local change ...
I'm guessing that you don't like it because the full command is long and
looks messy when quoted and listed?
> Is there a suggestion for resolving this? I put it in because there were
> no complaints. I use a different job completion function anyway. That's
> the solution for somebody, but what should be the default? Anyone want to
> write a patch to return the shortest unique string of complete words?
I used it all last week and it was really useful to me so I'd prefer if
it stays. I'm not convinced that using the shortest unique string would
be the best approach. What might be better would be to treat completion
of the first word (i.e. the command name) as separate to completion of
the remaining arguments so initially only the commands are listed but
they are completed without a suffix and you get the full arguments if
you press tab again.
I can probably implement this for the new style completion and this
would be helped by 6772 remaining so I wouldn't have to use $(jobs). I
don't have much time at the moment so I'll wait for any comments or
alternative suggestions. If many people don't like 6772 then we probably
want a solution that isn't dependant on new style completion.
Oliver Kiddle
Messages sorted by:
Reverse Date,
Date,
Thread,
Author