- http://dotfiles.github.io
- https://0x46.net/thoughts/2019/02/01/dotfile-madness
- https://cheatsheets.stephane.plus/admin/avoid_dotfile_madness
- https://wiki.archlinux.org/title/XDG_user_directories
- https://xdgbasedirectoryspecification.com
- https://www.anand-iyer.com/blog/2018/a-simpler-way-to-manage-your-dotfiles.html
- https://github.com/queer/boxxy
- https://dev.to/spacerockmedia/how-i-manage-my-dotfiles-using-gnu-stow-4l59
- https://www.gnu.org/software/stow/manual/stow.html
- https://rednafi.com/misc/pesky_little_scripts
Occasionally, you will run into a file in your home directory that you aren't allowed to "rm". This is caused by macOS trying to be "helpful". You can fix this on a case-by-case basis by typing:
xattr -d com.apple.quarantine /path/to/file
xattr -d com.apple.macl /path/to/file # might not be needed
Fix a bunch of them in bulk perhaps using:
find /path/to/directory -exec xattr -d com.apple.quarantine {} \;
find /path/to/directory -exec xattr -d com.apple.macl {} \; # might not be needed
You can also fix this behaviour permanently for all files using:
sudo defaults write com.apple.LaunchServices LSQuarantine -bool NO
sudo reboot