Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting command w/ space and pasting preserves old completion #521

Open
own2pwn opened this issue Apr 10, 2020 · 2 comments
Open

Starting command w/ space and pasting preserves old completion #521

own2pwn opened this issue Apr 10, 2020 · 2 comments
Labels

Comments

@own2pwn
Copy link

own2pwn commented Apr 10, 2020

Describe the bug

If execute a command that begins with space and pasting text thereafter, previous command is appended to that text.

To Reproduce

Steps to reproduce the behavior:

  1. Start command with space, e.g. _echo '1' where _ means space
  2. paste text, starting with space, e.g. _CMD+V
  3. move cursor to the right(right arrow)

Expected: have pasted text only
Actual: pasted and previous command from 1.

Screenshots

screens

image

image

Desktop

  • OS + distribution: macOS Catalina 10.15.4 (19E287)
  • Zsh version: 5.7.1
  • Plugin version: 0.6.4(ae315de)

Additional context

Problem seems to be with something related to MAGIC_FUNCTIONS, although seems to run fine with same config on High Sierra (though zsh version is 5.3)

@mindyourlifeguide
Copy link

@own2pwn, look - it helped me.

@tolpp
Copy link

tolpp commented May 25, 2020

It's looks like a duplicate of #351

Sourcing the code in this snippet solves the problem for me:
#351 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants