mirror of https://github.com/mickael-menu/zk
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
497 B
Plaintext
17 lines
497 B
Plaintext
# Support for double star globbing with `note.ignore`.
|
|
# https://github.com/mickael-menu/zk/issues/173
|
|
|
|
$ cd blank
|
|
|
|
$ echo "[note]\n exclude = ['drafts/**']" > .zk/config.toml
|
|
|
|
$ mkdir -p drafts/subdir/subdir
|
|
$ echo "# This is not ignored" > not-ignored.md
|
|
$ echo "# This is ignored" > drafts/ignored.md
|
|
$ echo "# This should be ignored as well" > drafts/subdir/should-ignore.md
|
|
$ echo "# This should be ignored as well" > drafts/subdir/subdir/should-ignore.md
|
|
|
|
$ zk list -qfpath
|
|
>not-ignored.md
|
|
|