title: Cat the contents of a .txt file to .bash_profile
body: <p>I am setting up a .txt file on my dropbox which will auto-sync between my laptop and desktop. This .txt file contains all of contents of a .bash_profile that I want to keep in sync between these computers, including an alias that currently looks like this:</p>
  <h1>Profile configuration</h1>
  <p>alias bprofud=&quot;cat ~/Dropbox/profile.txt &gt; ~/.bash_profle&quot;</p>
  <p>(where &quot;bprofud&quot; == a short name for bash profile update)</p>
  <p>The idea here is that in order to keep any changes to my bash profile on either computer, I will simply have to edit the text file in my dropbox and then run &quot;bprofud&quot; on each machine.</p>
  <p>This doesn't work though. And I am not sure why. It simply writes a new .bash_profile each time instead of overwriting the previous one.</p>
  <p>I am running the latest version of MacOSX.</p>
  <p>Any idea what might be going wrong?</p>