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

Preserve ZLE_KILL and ZLE_YANK flags #551

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

macdems
Copy link

@macdems macdems commented Jul 8, 2020

This solves #363.

@vincentbernat
Copy link

I am running into an odd bug when applying this commit. Steps to reproduce:

  1. Start a fresh shell
  2. Type echo hello world bye
  3. Type Alt-Backspace (this deletes bye and put it in the ring)
  4. Type Backspace (this deletes the space)
  5. Type Alt-Backspace (this deletes world and put it in the ring)
  6. Type Alt-b (go at the beginning of hello)
  7. Type Ctrl-Y (paste world)
  8. Type Alt-Y (should replace world by bye)

What I get is:

echo hbyeello

Instead of:

echo byehello

ZSH 5.8. Do you have the same bug?

aculich added a commit to aculich/zsh-autosuggestions that referenced this pull request Jul 14, 2024
aculich added a commit to aculich/zsh-autosuggestions that referenced this pull request Jul 14, 2024
@aculich
Copy link

aculich commented Jul 14, 2024

@vincentbernat I added your suggestion as a test and opened a new PR #795 that builds on this one... hopefully they'll both be merged soon @macdems ?

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.

3 participants