Debian Codegraph @

test/rcrc-custom.t

raw
1 $ . "$TESTDIR/helper.sh"
2
3 mkrc should accept a custom rcrc
4
5 $ touch .example
6 > mkdir .other-dotfiles
7
8 $ echo 'DOTFILES_DIRS="$HOME/.other-dotfiles"' > alt-rcrc
9
10 $ RCRC=./alt-rcrc mkrc -v .example
11 Moving...
12 '*/.example' -> '*/.other-dotfiles/example' (glob)
13 Linking...
14 '*/.other-dotfiles/example' -> '*/.example' (glob)
15
16 $ assert_linked "$HOME/.example" "$HOME/.other-dotfiles/example"