title: export inside alias is not working in Bash
body: <p>I'm trying to do something like this. But it's not working.</p>
  <pre><code>$ alias setroot=&quot;export ROOT=$1; export PATH=$ROOT/bin:$PATH&quot;
  $ setroot /path/to/root
  bash: export: `/path/to/root': not a valid identifier
  </code></pre>
  <p>Can someone point out, what is going wrong here?
  To clarify, I need ROOT also in my environment.</p>