$ . "$TESTDIR/helper.sh" rcrc should accept a DOTFILES_DIR with a ~ instead of $HOME $ mkdir ~/.other-dotfiles > touch ~/.other-dotfiles/o-example $ echo 'DOTFILES_DIRS="~/.other-dotfiles"' > alt-rcrc $ RCRC=./alt-rcrc lsrc /*/.o-example:/*/.other-dotfiles/o-example (glob) rcrc should run hooks with ~ instead of $HOME $ mkdir ~/.other-dotfiles/hooks -p > printf "#!/bin/sh\necho 'ran'\n" > ~/.other-dotfiles/hooks/post-up > chmod +x ~/.other-dotfiles/hooks/post-up > RCRC=./alt-rcrc rcup ran