title: Colored xtrace output
body: <p>I have a .sh-script that uses <code>set -o xtrace</code> to print all following commands.
  I want to color these commands. I tried to use the PS4 variable like this:</p>
  
  <pre><code>export PS4='\[\e[36m\]\+ \[\e[m\]'
  </code></pre>
  
  <p>But this colors only the <code>+</code>-character and if i leave out <code>\[\e[m\]</code> my complete output and the output of the executed program is colored.
  Is there another variable that is appended after the printed command where I can reset the color or is there another way.
  Thanks.</p>