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

Bug report: Pasting content overwrites the current line and duplicates the text



Hi, I read here that bug reports should go to this address. If this is incorrect, please direct me elsewhere.

Tested using Zsh version 5.8

Issue
Pasting text into the terminal results in the current line between wiped and replaced with the copied contents duplicated.

Scenario:
  1. Let's say the current terminal line looks like this:
    ~/work ❯ this is the current line

  2. I copy the word "current" and paste at the end of the line (with a space).

  3. Instead of ending up with:
    ~/work ❯ this is the current line current

    I end up with this instead:
    ~/work ❯ currentcurrent

Causes

I have so far figured out that the following two commands cause this issue:
  1. set -a
  2. set -o allexport
I have tried this on two separate Zsh installations, one using Ubuntu in Windows Terminal, the other on an Ubuntu OS terminal - both to same effect.

If any further information is needed, please let me know.

Regards,

Chris



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