Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Magic URL quoting and bracketed paste gets "disabled" randomly
On Wed, Jul 6, 2022 at 11:13 PM Vincent Bernat <bernat@xxxxxxxx> wrote:
>
> zle -N self-insert url-quote-magic
> zle -N bracketed-paste bracketed-paste-magic
>
> It works fine, but after some time, [url-quote-magic] stops working.
> Bracketed paste never stops working.
First thing to check is whether any of your widgets have become
re-bound somehow.
zle -l -L bracketed-paste self-insert
should return
zle -N bracketed-paste bracketed-paste-magic
zle -N self-insert url-quote-magic
If that hasn't changed, does url-quote-magic work when just typing in
a URL without pasting?
If so, next I'd try
exec 2>/tmp/zshuqmtrace
functions -t url-quote-magic
and then paste a URL. See if you get anything in that trace file.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author