lib: declare_source function

Decided I want less magic.  That's half the appeal of bash, right?
brew: less magic
git: less magic
symlink/dir: less magic
Merge branch 'refactor/less-magic'
todo update