Closed willrabbermann closed 1 year ago
I initialized the array before use with
typeset -A ZSH_HIGHLIGHT_STYLES
Still no luck
Yes, you are. But you need to enable that highlighter explicitly: ZSH_HIGHLIGHT_HIGHLIGHTERS+=( cursor )
Ok that works, just not so well with alacritty. Its more effective to set the cursor color in my terminal emulator configuration. Setting cursor color in zsh shell is only effective on half of my blinks. Maybe I can configure cursor color when im in a bare tty and not alacritty. Still useful for the other highlight groups, thank you.
Its more effective to set the cursor color in my terminal emulator configutation. Setting cursor color in zsh shell is only effective on half of my blinks. Maybe I can configure cursor color when im in a bare tty and not alacritty. Still useful for the other highlight groups thank you +1:
You're welcome. If there's any bugs or missing features in the cursor
highlighter feel free to open a new issue.
At the very bottom of my .zshrc I source.
Then from a terminal running my .zshrc I set:
This does not change the cursor color.
Then added this to my .zshrc in order to check my terminal (alacritty) for truecolor and load zsh/nearcolor
Then reloaded .zshrc and tried this in zsh:
Still nothing, am I accessing the associative array correctly?