## it works by
- setting immutable flags on files
- reloading config on SIGHUP signal without restarting the daemon.
- watching files with fsnotify and immediately re-locking if changes are detected.
- daemon is kept alive by systemctl/launchctl.
of course, you can still bypass it somehow, but the goal isn't security, it's to add enough friction that it helps with your self-control.
## Why I built it:
it's surprising (or not) how much time i spend on tuning all these configs, without me even noticing. it's too easy to just `cd dotfiles` and make some changes, whenever the tiniest inconvenience appears.
this started as a personal hack, but it's been surprisingly effective, so I figured others might relate
## Try it out:
- install with `brew install baggiiiie/tap/configlock`.
- run `configlock init`.
- add files with `configlock add ~/.zshrc`.