I'm messing around with the
accept-line widget and not getting the results I want.
I want to inspect (and log) what is happening to accept-line by finding the underlying zsh function.
My understanding is that zle widgets exist in their own separate namespace with the operation
zle -N mapping keys to value in this namespace and the operation
zle -A duplicating mappings.
I had quite a detailed search of of the zshzle manual page and did some googling but the best I could come up with is the following that makes use the
zle -l operation.
zle -l | grep '^accept-line ' | grep -Eo '\(.*\)' | tr -d '()'
Is there anything that doesn't depend so directly on the format of the output of