prezto: Module syntax-highlighting with prezto causes zsh to exit immediately
I’m on OS X 10.10.5 using zsh 5.0.5 (x86_64-apple-darwin14.0). This happens in both iTerm2 and Apple’s Terminal app. If I add the syntax-highlighting module to my .zpreztorc
, so the module loading looks like this:
zstyle ':prezto:load' pmodule \
'environment' \
'terminal' \
'editor' \
'history' \
'directory' \
'spectrum' \
'utility' \
'completion' \
'syntax-highlighting' \
'prompt'
Here’s me logging in with a pristine prezto install (I just cloned and set it up, so it’s prezto at revision 165879d4b30dbf90d436b02a73786a28519d9e93):
And here’s me logging in after enabling syntax-highlighting (adding 'syntax-highlighting' \
is the only change I’ve made to my .zpreztorc
):
Note that zsh now immediately exits upon login.
About this issue
- Original URL
- State: open
- Created 9 years ago
- Comments: 46 (10 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
- update sorin prompt to work around https://github.com/sorin-ionescu/prezto/issues/1026 — committed to jlipps/prezto by jlipps 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
- Mitigate a zsh 5.0.5 bug https://github.com/sorin-ionescu/prezto/issues/1026 — committed to habnabit/dotfiles by habnabit 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
OSX 10.10.5 with zsh 5.2 has same issue.
Same issue on Centos 7, Zsh 5.0.2