[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading local .emacs from remote machine

From: Kai Großjohann
Subject: Re: Loading local .emacs from remote machine
Date: Thu, 06 Feb 2003 14:42:45 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50 (i686-pc-linux-gnu)

Mac <> writes:

> En dag, närmare bestämt 2003-02-04, plitade Kai Großjohann ner:
>> I think what I would do is to set up a CVS repository and put my dot
>> files in there, then write a Makefile that sets up symlinks from
>> $HOME to the locations in the CVS repository. 
> Could anyone elaborate on which files the Makefile actually would
> create links to.
> I don't get it, but I really like the described end result. 

Let's say you have a CVS work directory ~/work/dotfiles for your,
well, dot files.  Then you'd create two files .emacs and Makefile
there and Makefile would look like this:

        ( cd $HOME; ln -s work/dotfiles/.emacs )

After this, wherever you go, just

    mkdir ~/work
    cd ~/work
    cvs -d $YOUR_REPOSITORY co dotfiles
    cd dotfiles
    make install

The above is for a fresh account.  After you've done it once, just

    cd ~/work/dotfiles
    cvs up -dP
    make install

if the repository has changed.
A turnip curses Elvis

reply via email to

[Prev in Thread] Current Thread [Next in Thread]