zsh-users
 help / color / mirror / code / Atom feed
From: Michael Prokop <news@michael-prokop.at>
To: zsh-users@sunsite.dk
Subject: Re: syncing .zsh* files
Date: Sat, 7 Aug 2004 10:06:54 +0200	[thread overview]
Message-ID: <2004-08-07T09-41-54@devnull.michael-prokop.at> (raw)
In-Reply-To: <198F38D4-E7C4-11D8-8E3F-000D93AD26C8@tntluoma.com>

* Timothy Luoma <lists@tntluoma.com> [20040806 19:18]:

> 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?

I'm using subversion as a revision control system for all my main
config files - including zsh-setup.

Via .zlogin I'm checking for a timestamp (update only if timestamp
is older than one day) and run 'svn update'.

I'm doing the OS and machine stuff via:

,---- [ extract from my ~/.zshrc ]
| OS=${OSTYPE%%[0-9.]*}
|   case $OS in
|       linux-gnu)
|          source $ZSHDIR/zsh_linux
|       solaris)
|       freebsd)
|       nto-qnx)
|       [...]
`----

The same works of course for hostname (for machine-specific stuff).

You can find my (zsh) config online:
  http://www.michael-prokop.at/computer/config/
Feedback and suggestions are welcome ;-)

HTH && regards,
(-: Michael
-- 
www.michael-prokop.at
~
~
".signature" [New] 1L, 22C [w]


      parent reply	other threads:[~2004-08-07  8:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-06 16:17 Timothy Luoma
2004-08-06 16:39 ` Björn Lindström
2004-08-06 16:49 ` Matt Pharr
2004-08-06 18:25 ` Vincent Lefevre
2004-08-07 22:07   ` Bart Schaefer
2004-08-07  8:06 ` Michael Prokop [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2004-08-07T09-41-54@devnull.michael-prokop.at \
    --to=news@michael-prokop.at \
    --cc=zsh-users@sunsite.dk \
    --cc=zsh@michael-prokop.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).