Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: syncing .zsh* files



Timothy Luoma <lists@xxxxxxxxxxxx> writes:

> I'm interested in keeping my .zsh(rc|env) files synced across 3
> different machines.
>
> Anyone have any good techniques for doing so, especially when there
> are some things ($PATH) which are different on each machine?
>
> Should I have separate .zshenv files and the same .zshrc file perhaps?
>
> Do .zshrc and .zshenv both get used when logging in (ssh)?

I distribute patches for my dot-files across machines using darcs
(http://abridgegame.org/darcs/).

To simplify keeping track of the patches, I source .zshrc.local from
.zshrc, and put purely local stuff, there. OS-dependent stuff I let
.zshrc figure out with a few if:s.



Messages sorted by: Reverse Date, Date, Thread, Author