Skip to content

Clear auto suggestions when bracketed paste is run#18

Open
nyxnor wants to merge 1 commit intoKicksecure:masterfrom
nyxnor:zsh-bracketed-speed
Open

Clear auto suggestions when bracketed paste is run#18
nyxnor wants to merge 1 commit intoKicksecure:masterfrom
nyxnor:zsh-bracketed-speed

Conversation

@nyxnor
Copy link
Copy Markdown
Contributor

@nyxnor nyxnor commented Aug 16, 2024

This pull request changes...

Changes

Clear auto suggestions when bracketed paste is run

Mandatory Checklist

  • Legal agreements accepted. By contributing to this organisation, you acknowledge you have read, understood, and agree to be bound by these these agreements:

Terms of Service, Privacy Policy, Cookie Policy, E-Sign Consent, DMCA, Imprint

Optional Checklist

The following items are optional but might be requested in certain cases.

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

https://forums.whonix.org/t/why-does-xfce-terminal-paste-commands-1-character-at-a-time/20227

zle -N self-insert url-quote-magic

pasteinit() {
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How to check that this line is safe? It's rather complex and not quoted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants