dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Add ability to use symlink.

Open terrafied opened this issue 10 years ago • 7 comments

Might not be desired, but I don't want to copy the dotfiles, I want to link them. This was mainly a hack for me and a bunch of friends who like this repo, but want to link instead of copy.

Issue: Kills the --force full name flag because I don't flesh out the getopts call.

terrafied avatar Dec 05 '13 21:12 terrafied

@johnmetta Yep. I ran into the same thing. That's why I started this: https://github.com/kevinSuttle/OSXDefaults

See context: https://github.com/mathiasbynens/dotfiles/issues/300

kevinSuttle avatar Dec 09 '13 04:12 kevinSuttle

This looks attractive to me. Are other folks symlinking their dotfiles as such?

I'd really like to get my git config --global commands back in automatically. And this would just make maintenance a touch easier.

cc @callumlocke

paulirish avatar Sep 24 '14 21:09 paulirish

From @mathiasbynens in https://github.com/mathiasbynens/dotfiles/issues/9#issuecomment-2048442 :

@gburtini Actually, using symlinks was the first thing that I tried. I ended up with “recursion too deep” errors though, even though they were simple ~/.foo → ~/dotfiles/.foo links. Any idea of what I was doing wrong?

paulirish avatar Sep 24 '14 21:09 paulirish

@alrra has some sweet symlinking up in https://github.com/alrra/dotfiles/blob/master/lib/dotfiles

looks great.

paulirish avatar Sep 24 '14 22:09 paulirish

@johnmetta not sure why you're closing this. I think it should remain open as symlinking has huge advantages. Unless you've changed your mind?

paulirish avatar Oct 06 '14 20:10 paulirish

Just saying: I'm symlinking with an install script and .bash_profile sourcing stuff. Works like a charm (just clean installed Yosemite)

webpro avatar Oct 06 '14 21:10 webpro

@webpro thx!

paulirish avatar Oct 06 '14 21:10 paulirish