Autosuggestion crashes terminal window #84
Looks like this is caused by sourcing ~/.zshrc twice.
$ zsh --version
zsh 5.2 (x86_64-apple-darwin14.5.0)
$ zsh # Start zsh from bash
% source ~/.zshrc # Re-source ~/.zshrc
% sourceSegmentation fault: 11 # Type "source" and press right arrow key
Edit: After playing a bit more, it looks like it's the reloading of autosuggestions.zsh that does it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Frequently, using the right arrow to accept a suggestion will close my terminal window, regardless of whether
AUTOSUGGESTION_ACCEPT_RIGHT_ARROW=1is set. Also, after running a few commands, the up-arrow history is inaccessible:Removing autosuggestion removes these issues:
I'm not sure the root of this issue, but it makes using this plugin essentially impossible.