title: Accidentally cleared ~/.bash_profile contents (Mac)
body: <p>I accidentally used <code>&gt;</code> to put an output inside <code>~/.bash_profile</code> and ended up erasing a lot of configs I had saved there.</p>
  
  <p>I need help to recover it. I still have iTerm opened with all the <code>~/.bash_profile</code> old settings before erase active. Which means next time I close it or do source <code>~/.bash_profile</code> all the settings will be lost forever.</p>
  
  <p>Is there a way to recover the current <code>~/.bash_profile</code> settings loaded? Or something?</p>