News for hackers. Stuff that matters.
Re:Why I use git and puppet to manage my dotfiles by tednaleid on Monday May 16, 2011 @06:16PM (#2554408)
Agreed, I use a relatively simple shell script to link all of my files in a "home" directory in dropbox to my real home directory on multiple machines:

    #named link.sh, greps out some common things we don't want to link, also have vim stuff in a different dotfiles repo
    cd $(dirname $0)

    for F in $(ls -a1 | grep -v link.sh | egrep -v "^..?$" | grep -v .DS_Store | egrep -v ".hg(ignore)?$" | egrep -v "^vim$"); do
        if [ -a $HOME/$F ]; then
    		echo "**** Found existing $F, skipping..."
        elif [ -h $HOME/$F ]; then
	        echo "Already symlinked $F, skipping..."
    	else
    	    echo "Linking $F"
    	    ln -s $PWD/$F $HOME/$F 
    	fi
    done
Re:Why I use git and puppet to manage my dotfiles by bostonvaulter2 on Monday May 16, 2011 @08:19PM (#2554778)
This would be a little hard for me because I like to keep my system configuration files in the same repository (such as fstab and php), although I could setup some standard naming scheme like root.etc.fstab to link to /etc/fstab
Re:Why I use git and puppet to manage my dotfiles by jlogsdon on Wednesday May 18, 2011 @01:39AM (#2559179)
If you were going to categorize like that why not just use an etc/ and home/ folder inside your repo?