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

Re: command tails



On Sun, Apr 16, 2023 at 5:59 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> 'my_function' should report the literal keystrokes that follow it

This requirement is, unfortunately, ill-defined. Consider an analogy.
Provide a function that prints the weight of the command line in
pounds minus its beauty in parsecs.

You can have the full command line unexpanded (grab it from zle) but
you cannot have an unexpanded command line split on semicolons (weight
minus beauty).

Roman.




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