| 1 |
$ . "$TESTDIR/helper.sh" |
| 2 |
|
| 3 |
Hosts override tags override defaults |
| 4 |
|
| 5 |
$ touch .dotfiles/host-example |
| 6 |
> touch .dotfiles/tag-example |
| 7 |
> touch .dotfiles/default-example |
| 8 |
> mkdir .dotfiles/tag-firetruck |
| 9 |
> touch .dotfiles/tag-firetruck/host-example |
| 10 |
> touch .dotfiles/tag-firetruck/tag-example |
| 11 |
> mkdir .dotfiles/host-eggplant |
| 12 |
> touch .dotfiles/host-eggplant/host-example |
| 13 |
|
| 14 |
$ lsrc -B eggplant -t firetruck |
| 15 |
/*/.host-example:/*/.dotfiles/host-eggplant/host-example (glob) |
| 16 |
/*/.tag-example:/*/.dotfiles/tag-firetruck/tag-example (glob) |
| 17 |
/*/.default-example:/*/.dotfiles/default-example (glob) |