fix: find and source ~/.jq file on windows (fixes #3104) (#3114)

This commit is contained in:
Kirk McKelvey authored and GitHub committed 2024-08-24 08:44:08 +09:00
1 parent da2a0b970c
commit 6322b99252
4 files changed
+20 -6

No files matched your search

+2 -1
View File
@@ -3691,7 +3691,8 @@ sections:
For example, with `-L$HOME/.jq` a module `foo` can be found in
`$HOME/.jq/foo.jq` and `$HOME/.jq/foo/foo.jq`.
If `$HOME/.jq` is a file, it is sourced into the main program.
If `.jq` exists in the user's home directory, and is a file (not a
directory), it is automatically sourced into the main program.
entries:
- title: "`import RelativePathString as NAME [<metadata>];`"