title: How to restore Terminal?
body: <p>I was continously having to paste in the following into each new Terminal session to access mysql command line:</p>
  
  <pre><code>export PATH=$PATH:/usr/local/mysql/bin
  </code></pre>
  
  <p>I modified bashrc and pasted it into that file:</p>
  
  <pre><code>nano ~./bashrc
  </code></pre>
  
  <p>Now Terminal doesn't work anymore.</p>
  
  <p>When I start a Terminal session, I get this output:</p>
  
  <pre><code>  [Restored Jul 19, 2017, 8:32:57 AM]
  Last login: Tue Jul 18 17:49:29 on ttys000
    [Restored Jul 19, 2017, 8:35:09 AM]
  Last login: Wed Jul 19 08:34:58 on console
  Restored session: Wed Jul 19 08:33:16 MST 2017
  
  [Process completed]
  </code></pre>
  
  <p>Before <code>[Process completed]</code> displays, there is some activity. I'm not sure what it is doing but I can tell there is activity by the flickering in the title bar. I see it going change from "Terminal" to "bash-" and back and forth. It take about a minute and then <code>[Process completed]</code> displays.</p>
  
  <p>At this point, I can't type anything into Terminal. Every time I startup Terminal, it goes through the same cycle.</p>
  
  <p>Any ideas how I can get it back in working order?</p>
  
  <p>UPDATE:
  I just discovered this: If I type in <code>ctrl-c</code>, I get the regular Terminal back and can type into it. </p>
  
  <p>I also typed in <code>reset</code> and then <code>ctrl-j</code>. But it still goes through all that activity and I always have to type <code>ctrl-c</code> to get the regular Terminal before the activity finishes. Otherwise, the prompt is inactive and I can't do anything.</p>
  
  <p>I can now <code>nano .bashrc</code>, the contents contain only my <code>export PATH</code> statement. Even though the mysql path is there, it still doesn't recognize <code>mysql -u root -p</code>.</p>