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