It would be really nice to have a means to include files from the including file’s directory without twiddling with the search path.
For example, if I have ~/code/jq-filters/myfilter.jq, which includes util.jq in that same directory, it’s cumbersome to have to set the search path in order for that to work:
jq -L ~/code/jq-filters -f ~/code/jq-filters/myfilter.jq
It would be convenient if I myfilter.jq could instead have something like:
… which would obviate the need to set the search path.
Thank you for considering!