Zink keeps your symlinks in sync!
nix profile install github:icetan/zink
Create a zink manifest file which tells zink where to create a symlink and where it should point to.
echo > ~/.zink '\
~/.config/sway:$BACKUP_DIR/myconfigs/sway
'
Now when you run zink
it will try to create symlinks as declared in ~/.zink
.
zink
For more information and usage: zink -h
zig build run
zig build test -Dtest-filter=fs -Dtest-filter=...
zig build -Doptimize=ReleaseSmall
- Handle permission denied by prompting with sudo.