I do dev work on a lot of different PCs (and different OS's). With all of them, I have to continuously rewrite the .profile and sometimes even .bashrc. This is mainly because I use a lot of aliases and other small helper functions that I use daily, and I often come up with new ones.
Having a remote way to get these would be great. It seems reasonable to just keep everything updated in a Github gist (I already do) but instead of manually rewriting old .profiles, I would like to simply do a networking call to fetch the latest on every terminal open.
Maybe this is simple like putting a curl https://gist.githubusercontent.com/me/mygist > .profile in some startup location like /rw/rc.local or something. But I'm a bit of a Unix noob so don't know the best way to do this. Also have no idea of what the Windows equivalent of that would be.
Or is this super ill-advised for some reason? I'm surprised I couldn't find anything on this with a search but it seems like a reasonable thing to do.
submitted by /u/Neighbor_
[link] [comments]
from Software Development – methodologies, techniques, and tools. Covering Agile, RUP, Waterfall + more! https://ift.tt/2Zohe32