Keeping my zsh or bash profile synced up on all my machines.

Posted by Joseph Silvashy on Super User See other posts from Super User or by Joseph Silvashy
Published on 2010-06-15T04:49:13Z Indexed on 2010/06/15 4:53 UTC
Read the original article Hit count: 333

Filed under:

I work on several different machines, all of which are *nix. I have a lot of specific things I like my shell to, or the prompt to look like, or aliases, etc, etc. I'm sure all of you folks deal with this as well.

What do you think the best way to keep all my machines' shells to act the same?

First off, I'm aware that different machines will need different paths to bins and other differences, so my first inclination is to just include a file at the end of my profile, this is the one that we'll keep in sync.

What is the best way to keep files synced up? I can put the file on a remote system, and perhaps use git, to push, then pull my changes every once and a while. However, isn't Rsync better suited for this?

© Super User or respective owner

Related posts about shell