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): works

And here’s me logging in after enabling syntax-highlighting (adding 'syntax-highlighting' \ is the only change I’ve made to my .zpreztorc): broken

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

Most upvoted comments

OSX 10.10.5 with zsh 5.2 has same issue.

Same issue on Centos 7, Zsh 5.0.2