plink provides a drop-in replacement for managing dotfiles via
it does so with a DSL designed for symlinks.
Managing symlinks with make is nice, but prone to error, particularly if you stick to POSIX. This solves that problem.
Perl, baby, Perl.
Clone plink as a submodule of your dotfiles,
mv Makefile dotfiles.plink,
and put this shebang at the beginning:
#! /usr/bin/env plink_submodule/Plink.pm
Run the file (
chmod u+x dotfiles.plink), and then use make as usual!
be replaced with
perl if you don’t have it.
You can then start to take of plink syntax, all documented in the module and on GitHub.
Also see vim-plink for vim syntax files!
Use the code! Read it, help improve the documentation, report bugs, etc.
Dive in to our issue tracker, and see if there’s something you can help with.
Write more tests (we’ll never have perfect coverage).