You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an oh-my-zsh plugin, zsh-autosuggestions fails to detect if something has been pasted and will continue to suggest until such pasted content is modified (adding/removing a character)
To Reproduce (with Screenshots)
Note: All screenshots are obtained with the minimal .zshrc attached below.
Write down any command that can lead to a suggestion.
Paste something in. The pasted content should be highlighted in white. Suggestion cannot be seen
Pressing ← should de-highlight the pasted content and reveal the suggestion still being there (when it supposedly shouldn't be)
Additionally, pressing → or End should de-highlight and adding the suggestion to the end of the pasted content.
Expected behavior
After pressing ←, there should be no suggestion, and pressing → or End should not result in the suggestion getting added to the end.
Desktop
OS + distribution: KDE neon Testing Edition 5.21, and Ubuntu 20.10 (both are fully up-to-date as of writing this report)
Irreproducible locally with zsh -df followed by manual sourcing due to suggestion not appearing, however reproducible with the following minimal .zshrc
Describe the bug
As an
oh-my-zsh
plugin,zsh-autosuggestions
fails to detect if something has been pasted and will continue to suggest until such pasted content is modified (adding/removing a character)To Reproduce (with Screenshots)
Note: All screenshots are obtained with the minimal
.zshrc
attached below.Additionally, pressing → or End should de-highlight and adding the suggestion to the end of the pasted content.
Expected behavior
After pressing ←, there should be no suggestion, and pressing → or End should not result in the suggestion getting added to the end.
Desktop
5.8
ae315ded4dba10685dbbafbfa2ff3c1aefeb490d
Additional context
Minimal
.zshrc
that can trigger this bugIrreproducible locally with
zsh -df
followed by manual sourcing due to suggestion not appearing, however reproducible with the following minimal.zshrc
Terminal tested against
On KDE neon:
kitty
0.19.3 (freshly out of the box)On Ubuntu 20.10:
The text was updated successfully, but these errors were encountered: