summaryrefslogtreecommitdiff
path: root/test/rcrc.t
blob: cb1946caab7b9a4a59949fa454eb1a4e7fb60a08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  $ . "$TESTDIR/helper.sh"

Information should be read from ~/.rcrc by default

  $ touch .example
  > mkdir .other-dotfiles

  $ echo 'DOTFILES_DIRS="$HOME/.other-dotfiles"' > $HOME/.rcrc

  $ mkrc -v .example
  Moving...
  '*/.example' -> '*/.other-dotfiles/example' (glob)
  Linking...
  '*/.other-dotfiles/example' -> '*/.example' (glob)

  $ assert_linked "$HOME/.example" "$HOME/.other-dotfiles/example"