Closed heafnerj closed 1 year ago
I found the problem! I had copied the plugin's repo from another machine using the name fast-syntax-highlighting
instead of zsh-syntax-highlighting
. I guess the name changed sometime in the past and I didn't catch it. I installed the repo with the correct name and now configuration works perfectly now. I apologize for opening this issue, but I was out of options at the time. Thank you for this wonderful software!
Glad you solved it. For future reference:
fast-syntax-highlighting is a fork of zsh-syntax-highlighting.
Regarding the "crash" when opening a new terminal, the way to debug that is to run zsh
without arguments from another shell (or to configure the terminal emulator / pty not to close the tab when the program therein exits).
Thank you for clearing up the fork issue (I wasn't sure which was the original), and thanks for the debugging tip too.
I am using
zsh-syntax-highlighting
inoh-my-zsh
on macOS Catalina and Ventura and am trying to customize some things. The plugin works, but the problem is that the information in the docs does not match the corresponding file names and variable names in the files in my distribution. I my.zshrc
file I cannot load the plugin aszsh-syntax-highlighting
, I must usefast-syntax-highlighting
because the former causes a crash when I launch my Terminal. The docs for customizingZSH_HIGHLIGHT_STYLES
seem straightforward but in the filefast-highlight
the variable is namedFAST_HIGHLIGHT_STYLES
. I've been trying to simply customizedZSH_HIGHLIGHT_STYLES[path]
and nothing works. Am I missing something very obvious?