zsh-autosuggestions: iTerm2 crashes

(As requested in #103 I created this as a separate topic)

While the initial error is now resolved the plugin now crashes my terminal window as soon as I enter a “space” after any command, i.e. “ping(space)”.

I’m using iTerm2 and load all plugins with the zgen framework. Here is my setup:

In a .zgen file

source ~/.zsh/zsh-autosuggestions/dist/autosuggestions.zsh
zgen load zsh-users/zsh-syntax-highlighting

In .zshrc

ZSH_AUTOSUGGEST_CLEAR_WIDGETS=("${(@)ZSH_AUTOSUGGEST_CLEAR_WIDGETS:#(up|down)-line-or-history}")

ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(history-substring-search-up history-substring-search-down)

autosuggest_start

Your plugin is loaded from the repro and is on the v0.1.0 branch.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 19 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@MikeBailleul @kylealwyn Please try the develop branch. What you were likely seeing was issue #166, which has been fixed on the develop branch but not yet on master.