| 1 |
$ . "$TESTDIR/helper.sh" |
| 2 |
|
| 3 |
Passing -C should copy the file |
| 4 |
|
| 5 |
$ echo 'Content' > .example |
| 6 |
|
| 7 |
$ mkrc -C .example >/dev/null |
| 8 |
|
| 9 |
$ refute "should not be a symlink" -h $HOME/.example |
| 10 |
|
| 11 |
$ cat $HOME/.example |
| 12 |
Content |
| 13 |
|
| 14 |
$ cat $HOME/.dotfiles/example |
| 15 |
Content |