title: Default python in terminal won't change despite exports and aliases in ~/.bashrc and ~/.bash_aliases
body: <p>I have followed instructions in examples like <a href="https://linuxconfig.org/how-to-change-from-default-to-alternative-python-version-on-debian-linux" rel="nofollow noreferrer">this</a>, and <a href="https://stackoverflow.com/questions/19256127/two-versions-of-python-on-linux-how-to-make-2-7-the-default">this</a>.</p>
  
  <p>I have this line in my ~/.bashrc file</p>
  
  <pre><code>export python="/usr/local/bin/python3.6"
  </code></pre>
  
  <p>This lines in my ~/.bash_aliases file</p>
  
  <pre><code>alias python='/usr/local/bin/python3.6'
  </code></pre>
  
  <p>This is my PATH variable</p>
  
  <pre><code>/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS
  </code></pre>
  
  <p>And I still have the following python version and path</p>
  
  <pre><code>User$ which python
  /usr/bin/python
  User$ python --version
  Python 2.7.10
  </code></pre>
  
  <p>I have also already tried exiting the terminal and reopening</p>
  
  <p>Here is what is within the directories /usr/local/bin/python3.6* and /usr/bin/python*</p>
  
  <pre><code>User$ /usr/local/bin/python3.6
  python3.6          python3.6-config   python3.6m-config  
  python3.6-32       python3.6m         
  User$ /usr/bin/python
  python            python2.6-config  pythonw           
  python-config     python2.7         pythonw2.6        
  python2.6         python2.7-config  pythonw2.7 
  </code></pre>
  
  <p>Thank-you</p>