1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

42918: fix file completion for jq

This commit is contained in:
dana 2018-06-02 17:15:48 -05:00 committed by Oliver Kiddle
parent 9767ee8849
commit e60620bc2f
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2018-06-09 Oliver Kiddle <okiddle@yahoo.co.uk>
* 42918: dana: Completion/Unix/Command/_jq: fix file completion
* 42918: dana: Completion/Unix/Command/_ldd: adapt detection of
GNU variant to work on Ubuntu

View file

@ -31,4 +31,4 @@ _arguments -S -s : \
'*--argjson[pre-set a variable to an object]: :_guard "|[A-Za-z][A-Za-z0-9]#" "variable name":value (JSON): ' \
'*--slurpfile[pre-set a variable to contents of a file]: :_guard "|[A-Za-z][A-Za-z0-9]#" "variable name":value (filename of file containing JSON):_files' \
"1: :_guard '|[^-]' filter" \
"*:_files"
"*: :_files"