Skip to content

Instantly share code, notes, and snippets.

@ZacharyThompson
Created August 27, 2024 23:16
Show Gist options
  • Save ZacharyThompson/a528ec338d28abe484fa27a6ae297ae1 to your computer and use it in GitHub Desktop.
Save ZacharyThompson/a528ec338d28abe484fa27a6ae297ae1 to your computer and use it in GitHub Desktop.
zsh highlight
To activate the syntax highlighting, add the following at the end of your .zshrc:
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
If you receive "highlighters directory not found" error message,
you may need to add the following to your .zshenv:
export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=/usr/local/share/zsh-syntax-highlighting/highlighters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment