Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ZLE Widget: Insert last word (except &)



Felix Rosencrantz wrote:

> [interface to parse command lines] ...
> 
> Not sure if it has to be a new parameter expansion flag, though that was
> one possible solution. It would be useful if it could be performed
> on full command lines (e.g. from history or a file.)
> 
> So what kind of things do you imagine would be possible with these new changes?

Analysing any string in the way the completion system does it now.

I don't have enough ideas about all this yet, and almost no time in
the next days or weeks.

> ...
> 
> Though what I would really like in the end is better prediction, in hopes
> that would cut down on typing.  For me the prediction widget is great
> in certain circumstances, but other times it just gets my the way.
> I feel that to improve it, would require better analysis of shell history,
> which requires processing command lines. Or maybe another direction for
> prediction is needed maybe someone would like to add something like rk,
> reactive keyboard, as a module.  That way we might be able to get prediction
> similar to what the various web browsers provide.

Some time ago I found http://www.cs.ualberta.ca/~benjamin/AUI/,
haven't had the time to really look at it yet. He's using a customized 
zsh to gather information about command usage to help prediction
future commands.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author