dotfiles
dotfiles copied to clipboard
Add ability to use symlink.
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.
@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
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
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?
@alrra has some sweet symlinking up in https://github.com/alrra/dotfiles/blob/master/lib/dotfiles
looks great.
@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?
Just saying: I'm symlinking with an install script and .bash_profile sourcing stuff. Works like a charm (just clean installed Yosemite)
@webpro thx!