What does HackerNews think of dotfiles?
:wrench: .files, including ~/.macos — sensible hacker defaults for macOS
But it seems this project has fallen behind on PRs.
If you would like to have this fix, you can do this after cloning the repo:
git clone https://github.com/mathiasbynens/dotfiles && cd dotfiles
git fetch origin "+refs/pull/*/head:refs/remotes/origin/pr/*" && git cherry-pick origin/pr/963
I use https://github.com/mathiasbynens/dotfiles to get my setup done. Comes pretty much with a lot OTB!
Quite a few gems in here: https://github.com/mathiasbynens/dotfiles
Edit: AFAIK .DS_Store is only created when you use Finder. In the past couple of years I've only used the Finders to drag'n drop stuff between ~/Desktop and ~/Downloads, terminal for the rest, so .DS_Store files might not be a problem in practice.
Edit2: Google helps answer your original question http://stackoverflow.com/questions/18015978/how-to-stop-crea...
In addition, I cannot say enough good about the dotfiles project from https://github.com/mathiasbynens/dotfiles for making OSX a nice developer environment. Be sure to completely read through the .osx file before applying it though, and comment out the bits you don't like. If you maintain the .brew file and use it to install new apps (including apps via cask), you'll have a system that is very easy to replicate. iTerm2 with tmux is great for use with Vagrant environments too.
Check out Github's tools as they seem to use OS X heavily.
Homebrew - http://brew.sh/
Also the ~/.osx dotfiles in this repo (https://github.com/mathiasbynens/dotfiles) are quite handy especially space order locking. That used to drive me mad.
Finally Amethyst (https://github.com/ianyh/Amethyst) is still a lil buggy but so nice to have. If you want to go the 'more OS X route' check out BetterTouchTool instead.
To install on Mac just run:
git clone https://github.com/mathiasbynens/dotfiles.git && cd dotfiles && source bootstrap.sh
Also, I will add the following to the list of apps you should have:
- Flycut (Clipboard Manager)
- GasMask (host file editor)
- Sequel Pro (if you're using MySQL)
- Dotfiles by Mathias Bynens \n(https://github.com/mathiasbynens/dotfiles)
- Any of your favorite task/to-do list manager.
Feel free to add more.
https://github.com/mathiasbynens/dotfiles