title: run a function or alias set in bashrc, or profile through nohup
body: <p>My question is similar to this one. 
  <a href="https://stackoverflow.com/questions/9301531/using-aliases-with-nohup">Using aliases with nohup</a></p>
  
  <p>I took a lot of time customizing a function that I included in my .bashrc 
  I'd like it to run with nohup, because I'd like to run a command several times in this fashion. </p>
  
  <pre><code>for i in `cat mylist`; do nohup myfunction $i 'mycommand' &amp; done
  </code></pre>
  
  <p>Any tips? </p>