summaryrefslogtreecommitdiff
path: root/test/rcrc.t
blob: 54fc022a5f161d248a358e277bd73bf9a6f049c5 (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"