Just the things that I like to install and always forget when I get a new mac.
Many times I've got a brand new MBP, and I can't just migrate my old one into it, so I hope this list of installers helps me getting it ready to go as I like it.
- Stop .DS_store files from getting written on mounted devices
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
- Prevent script files from being executed from an NPM package dependency
npm config set ignore-scripts true
- Increase magic mouse's tracking speed
defaults write -g com.apple.mouse.scaling 8.0
- Change where Screenshots are being stored
defaults write com.apple.screencapture location "/Users/jdgomezb/Downloads/Screenshots"
- Config VScode as default editor for git
git config --global core.editor "code --wait"
- Search for node modules folders and delete them when backing up old projects
find . -name "node_modules" -type d -prune -print | xargs du -chs
- Delete node module folders recursively
find . -name "node_modules" -type d -prune -exec rm -rf '{}' +