title: Is there way to run a file with instruction in the erlang shell?
body: <p>I have a file .erlang in the current dir I run erl shell that compiles a few modules. </p>
  
  <p>Is there way to re run this file from the Erlang shell.</p>
  
  <p>I run erl I get the shell 1> and from there run like run_file(".erlang") and this file execute the instructions in the current shell and load the env.</p>
  
  <p>The file looks like</p>
  
  <pre><code>compile:file(file1). 
  compile:file(file2).
  compile:file(file3).
  ...
  </code></pre>