title: Syntax highlighting in zsh using 256 colors?
body: <p>I'm using prezto with zsh, and my difficulty is with the syntax highlighting, of which a sample line is</p>
  
  <pre><code>'function' 'bg=green'
  </code></pre>
  
  <p>I could also have here, for example</p>
  
  <pre><code>'function' 'bg=blue,fg=yellow'
  </code></pre>
  
  <p>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</p>
  
  <pre><code>'function' 'bg=$FG[021],fg=$FG[196]'
  </code></pre>
  
  <p>for example, would work, given that I have previously loaded the spectrum module.  </p>
  
  <p>But I can't get this to work.  I've checked that <code>tput colors</code> returns 256, and that the command</p>
  
  <pre><code> echo "$FG[214]Hello, World"
  </code></pre>
  
  <p>gives me an orange output.  </p>
  
  <p>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!</p>