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

Re: prevent some lines directly coming from the history from being executed



I won't complicate the discussion on the currently proposed text further
(don't see any fundamental problems), but I wonder if it would be useful to
give an example of accept-line being adapted?  There is a problem of making
the documentation too verbose (if technology allowed, it would be useful
to have a two level manual, the fundamentals and a running commentary,
but that's a pipedream), so maybe a self-insert example is good enough.
Alternatively, a subsequent sentence like "In a similar way,
to perform a final action on all lines returned from Zle, the accept-line
widget can be rebound to a function that performs an action on the current
line, then calls the .accept-line widget to return the line to the shell."

pws




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