title: Struggling to unset an environment variable in bash
body: <p>I have previously set an environment variable using:</p>
  
  <pre><code>echo export "AVARIABLE=example" &gt;&gt; ~/.bash_profile
  </code></pre>
  
  <p>but now after using:</p>
  
  <pre><code>unset AVARIABLE
  </code></pre>
  
  <p>the env var remains when I open a new shell? What am I doing wrong here? Even running:</p>
  
  <pre><code>source ~/.bash_profile
  </code></pre>
  
  <p>does not work?</p>