zk/tests/issue-170.tesh
2022-04-23 18:01:04 +02:00

23 lines
368 B
Plaintext

# Wiki links in subdirectories are broken
# https://github.com/mickael-menu/zk/issues/170
$ cd blank-slug
$ touch one.md
$ echo "[[one]]" > two.md
$ mkdir my_dir
$ echo "[[one]]" > my_dir/three.md
$ zk list -qfpath
>my_dir/three.md
>one.md
>two.md
$ zk list --link-to one.md -qfpath
>my_dir/three.md
>two.md
$ zk list --linked-by my_dir/three.md -qfpath
>one.md