title: How to unset variables after use in .zshrc?
body: <p>So let's say I set a bunch of variables in my .zshrc:</p>
  
  <pre><code>function print_color () { 
      echo -ne "%{\e[38;05;${1}m%}"; 
  }
  
  # color guide: http://misc.flogisoft.com/_media/bash/colors_format/256-colors.sh.png
  RED=`print_color 160`
  DEFAULT="%{$fg[default]%}"
  
  PROMPT='$RED%${DEFAULT} $ '
  </code></pre>
  
  <p>The problem is these remain set, once I am actually running commands</p>
  
  <pre><code>$ echo $RED
  %{%}            # With colors, etc.
  </code></pre>
  
  <p>How would I unset them after use in my .zshrc? What is the best practice here?</p>
  
  <p>Thanks,
  Kevin</p>