Skip to content

Preserve ZLE_KILL and ZLE_YANK flags#551

Open
macdems wants to merge 3 commits intozsh-users:masterfrom
macdems:master
Open

Preserve ZLE_KILL and ZLE_YANK flags#551
macdems wants to merge 3 commits intozsh-users:masterfrom
macdems:master

Conversation

@macdems
Copy link
Copy Markdown

@macdems macdems commented Jul 8, 2020

This solves #363.

@vincentbernat
Copy link
Copy Markdown

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-forks/zsh-autosuggestions that referenced this pull request Jul 14, 2024
aculich added a commit to aculich-forks/zsh-autosuggestions that referenced this pull request Jul 14, 2024
@aculich
Copy link
Copy Markdown

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