diff options
Diffstat (limited to 'test/rcrc-custom.t')
-rw-r--r-- | test/rcrc-custom.t | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/rcrc-custom.t b/test/rcrc-custom.t new file mode 100644 index 0000000..ef9b8fa --- /dev/null +++ b/test/rcrc-custom.t @@ -0,0 +1,16 @@ + $ . "$TESTDIR/helper.sh" + +mkrc should accept -r for a custom rcrc + + $ touch .example + > mkdir .other-dotfiles + + $ echo 'DOTFILES_DIRS="$HOME/.other-dotfiles"' > alt-rcrc + + $ RCRC=./alt-rcrc mkrc -v .example + Moving... + '.example' -> '*/.other-dotfiles/example' (glob) + Linking... + '*/.other-dotfiles/example' -> '*/.example' (glob) + + $ assert_linked "$HOME/.example" "$HOME/.other-dotfiles/example" |