blob: 35ad0fe2f6481a34d0f49bb1b9c555da74dd69dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$ . "$TESTDIR/helper.sh"
Should include entries that match hostname
$ touch .dotfiles/example
> mkdir .dotfiles/host-$(hostname)
> touch .dotfiles/host-$(hostname)/h-example
> mkdir .dotfiles/host-not-hostname
> touch .dotfiles/host-not-hostname/nh-example
$ lsrc
/*/.example:/*/.dotfiles/example (glob)
/*/.h-example:/*/.dotfiles/host-*/h-example (glob)
$ lsrc -B not-hostname
/*/.example:/*/.dotfiles/example (glob)
/*/.nh-example:/*/.dotfiles/host-*/nh-example (glob)
|