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
- Worked around the zle reset-prompt crash issue. See https://github.com/sorin-ionescu/prezto/issues/1026 — committed to djehuti/prezto by djehuti 8 years ago
- Reload only the prompt widget This fix is described in - https://github.com/zsh-users/zsh-autosuggestions/issues/107#issuecomment-183824034 - https://github.com/sorin-ionescu/prezto/issues/1026 — committed to dritter/powerlevel9k by dritter 7 years ago
- Reduce unneeded redraw and force redisplay prompt Recalling precmd_functions is only needed when cwd is changed, which means when `jump` is called. `.reset-prompt`: bypass the zsh-syntax-highlightin... — committed to laggardkernel/fzf-marks by laggardkernel 5 years ago
@MikeBailleul @kylealwyn Please try the
developbranch. What you were likely seeing was issue #166, which has been fixed on thedevelopbranch but not yet onmaster.