In addition to my own computer, I sometimes use an Ubuntu cluster at my school. Rather than manually keep my .bashrc's in sync, I would like to make the school cluster's .bashrc source my personal .bashrc from DropBox via a URL. However, when I naively try source http://myurl
, I just get an error: http://myurl: No such file or directory
. How can I can get bash to source from a script located online?
Worst case, I could curl to a named pipe and source that. Is there anything more elegant?