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

zsh-autosuggestion breaks zle-isearch-update widget #207

Closed
docwhat opened this issue Nov 6, 2016 · 1 comment
Closed

zsh-autosuggestion breaks zle-isearch-update widget #207

docwhat opened this issue Nov 6, 2016 · 1 comment

Comments

@docwhat
Copy link
Contributor

docwhat commented Nov 6, 2016

It seems that zsh-autosuggestion is breaking the zle-isearch-update widget, which is loaded for use by zsh-syntax-highlighting. I troubleshot this problem in zsh-users/zsh-syntax-highlighting#387 if you want to see the history.

Basically, if the zle-isearch-update widget is rebound and history-incremental-pattern-search-backwards is bound to ^R then search fails after a (small) random number of items in the history.

I created a minimal test case for you: https://gist.github.com/docwhat/0cd192c066a5f9da69244f1631c5d481

Clone it, run ./setup.sh and then ./fake-home.sh and try to search backwards for hi via ^R.

A work around for this is to add zle-isearch-update to the widget ignore list.

I also submitted PR #206 which would also fix this, via a sledge hammer.

@ericfreese
Copy link
Member

Thank you for this. I will investigate soon.

@ericfreese ericfreese mentioned this issue Feb 19, 2017
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants