title: echo -ne "${none}" every other line when using editor for commands
body: <p>I've been having an issue with <code>echo -ne &quot;${none}&quot;</code> displaying every other line when issuing commands from the shell editor <code>ctrl-x e</code></p>
  <p>For example entering <code>for i in what is going on ? ; do echo &quot;$i&quot;; done </code> will print out</p>
  <pre><code>echo -ne &quot;${none}&quot;
  echo -ne &quot;${none}&quot;
  what
  echo -ne &quot;${none}&quot;
  echo -ne &quot;${none}&quot;
  is
  echo -ne &quot;${none}&quot;
  echo -ne &quot;${none}&quot;
  going
  echo -ne &quot;${none}&quot;
  echo -ne &quot;${none}&quot;
  on
  echo -ne &quot;${none}&quot;
  echo -ne &quot;${none}&quot;
  R
  </code></pre>
  <p>I'm not really sure what's going on. It doesn't seem to have an effect on things, but makes reading the output kind of a pain.</p>
  <hr />
  <p>So I think I've worked out why I am getting the 'echo -ne &quot;${none}&quot;' only from editor.</p>
  <p>I have edited my .bashrc do include the <strong>fancy bash prompt</strong> from <a href="https://github.com/andresgongora/synth-shell" rel="nofollow noreferrer">https://github.com/andresgongora/synth-shell</a> . do colourise my bash prompt.</p>
  <pre><code>        ############################################################################
          ## BASH PROMT                                                             ##
          ## Generate promt and remove format from the rest                         ##
          ############################################################################
          PS1=&quot;$TITLEBAR\n${PROMT_USER}${SEPARATOR_1}${PROMT_HOST}${SEPARATOR_2}${PROMT_PWD}${SEPARATOR_3}${PROMT_INPUT}&quot;
  
  
  
          ## For terminal line coloring, leaving the rest standard
          none=&quot;$(tput sgr0)&quot;
          trap 'echo -ne &quot;${none}&quot;' DEBUG
  
  </code></pre>
  <p>I assume that entering commands from the editor doesn't set the none variable</p>