help / color / mirror / code / Atom feed
From: Vincent Bernat <bernat@luffy.cx>
To: Zsh Users <zsh-users@zsh.org>
Subject: Magic URL quoting and bracketed paste gets "disabled" randomly
Date: Thu, 7 Jul 2022 08:13:39 +0200	[thread overview]
Message-ID: <bc5d0025-d0f3-ce8f-0c37-cbc810c60869@luffy.cx> (raw)


I have this in my Zsh configuration:

autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic

It works fine, but after some time, it stops working. Pasting an URL 
with a question mark left the mark unquoted. Just reexecing zsh fixes 
the issue. I don't really know how to start investigate such an issue. 
Bracketed paste never stops working.


             reply	other threads:[~2022-07-07  6:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07  6:13 Vincent Bernat [this message]
2022-07-09  3:10 ` Bart Schaefer
2022-07-09  5:40   ` Vincent Bernat
2022-07-10 17:44     ` Bart Schaefer
2022-07-10 19:12       ` Vincent Bernat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc5d0025-d0f3-ce8f-0c37-cbc810c60869@luffy.cx \
    --to=bernat@luffy.cx \
    --cc=zsh-users@zsh.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).