I'm using prezto with zsh, and my difficulty is with the syntax highlighting, of which a sample line is
'function' 'bg=green'
I could also have here, for example
'function' 'bg=blue,fg=yellow'
However, I want to take advantage of my 256 color terminal (konsole in my case), in which case I would have thought that something like
'function' 'bg=$FG[021],fg=$FG[196]'
for example, would work, given that I have previously loaded the spectrum module.
But I can't get this to work. I've checked that tput colors
returns 256, and that the command
echo "$FG[214]Hello, World"
gives me an orange output.
Anyway, whether I use spectrum or not, I'd like more control over my syntax highlighting, and to be able to use 256 colors. Any advice would be very welcome!