Closed AndreKucharzyk closed 2 years ago
I did this:
cd zsh-syntax-highlighting && find . -type f -exec sed -i 's/\<green\>/blue/g' {} \;
Obviously change "blue" to your desired color. You can use hex colors too:
find . -type f -exec sed -i 's/\<green\>/"#FF6329"/g' {} \;
See the documentation about ZSH_HIGHLIGHT_STYLES, and your terminal emulator's color palette.
there are some config about ZSH_HIGHLIGHT_STYLES inzsh-syntax-highlighting/highlighters/main/main-highlighter.zsh
. you can set it in ~/.zshrc
to change color.
such as change ZSH_HIGHLIGHT_STYLES[arg0]
ZSH_HIGHLIGHT_STYLES[arg0]='fg=yellow'
I did this:
cd zsh-syntax-highlighting && find . -type f -exec sed -i 's/\<green\>/blue/g' {} \;
Obviously change "blue" to your desired color. You can use hex colors too:find . -type f -exec sed -i 's/\<green\>/"#FF6329"/g' {} \;
Yeah, that's right. Again, see the documentation for details.
Is there a way to change the colours of highlighting? My current colors are not that pleasing.