From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26819 invoked from network); 7 Aug 2004 08:36:27 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Aug 2004 08:36:27 -0000 Received: (qmail 62190 invoked from network); 7 Aug 2004 08:36:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Aug 2004 08:36:21 -0000 Received: (qmail 15778 invoked by alias); 7 Aug 2004 08:35:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7813 Received: (qmail 12698 invoked from network); 7 Aug 2004 08:08:56 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 7 Aug 2004 08:08:56 -0000 Received: (qmail 48131 invoked from network); 7 Aug 2004 08:06:57 -0000 Received: from mail.vc-graz.ac.at (HELO proxy.vc-graz.ac.at) (193.171.121.30) by a.mx.sunsite.dk with SMTP; 7 Aug 2004 08:06:56 -0000 Received: from localhost (b-55.vc-graz.ac.at [193.171.241.55]) by proxy.vc-graz.ac.at (8.12.11/8.12.11) with ESMTP id i7786rQY004926 for ; Sat, 7 Aug 2004 10:06:53 +0200 (MEST) Date: Sat, 7 Aug 2004 10:06:54 +0200 From: Michael Prokop To: zsh-users@sunsite.dk Subject: Re: syncing .zsh* files Message-ID: <2004-08-07T09-41-54@devnull.michael-prokop.at> Reply-To: Michael Prokop Mail-Followup-To: zsh-users@sunsite.dk References: <198F38D4-E7C4-11D8-8E3F-000D93AD26C8@tntluoma.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <198F38D4-E7C4-11D8-8E3F-000D93AD26C8@tntluoma.com> X-URL: http://www.michael-prokop.at/ X-Operating-System: Debian GNU/Linux - 2.6.2 on a i686 X-Registered-Linux-User: 224337 X-Crypto: GnuPG/1.2.3 http://www.gnupg.org X-GPG-Key-ID: 0x37E272E8 X-GPG-Key: http://www.michael-prokop.at/gpg X-GPG-Fingerprint: 04AE E62C 9502 CD34 A7DA 857B D8DF 53FB 37E2 72E8 User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version 0.75.1, clamav-milter version 0.75c on proxy.vc-graz.ac.at X-Virus-Status: Clean X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_30 autolearn=no version=2.63 X-Spam-Hits: -0.9 * Timothy Luoma [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]