Skip to content

Commit

Permalink
fix: jq has moved from stedolan/jq to jqlang/jq (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt authored Jun 5, 2023
1 parent 238e843 commit de85908
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doc/zsdoc/zinit-install.zsh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ ____
____

Has 549 line(s). Doesn't call other functions.
Has 573 line(s). Doesn't call other functions.

Uses feature(s): _autoload_, _bindkey_, _compdef_, _compdump_, _eval_, _read_, _setopt_, _unfunction_, _zle_, _zstyle_

Expand Down
4 changes: 2 additions & 2 deletions doc/zsdoc/zinit.zsh.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1908,7 +1908,7 @@ ____
____

Has 117 line(s). Doesn't call other functions.
Has 120 line(s). Doesn't call other functions.

Called by:

Expand All @@ -1931,7 +1931,7 @@ ____
____

Has 549 line(s). Doesn't call other functions.
Has 573 line(s). Doesn't call other functions.

Uses feature(s): _autoload_, _bindkey_, _compdef_, _compdump_, _eval_, _read_, _setopt_, _unfunction_, _zle_, _zstyle_

Expand Down
2 changes: 1 addition & 1 deletion tests/gh-r.zunit
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@
$joincap --version; assert $state equals 0
}
@test 'jq' { # Command-line JSON processor
run zinit lbin'!* -> jq' for stedolan/jq; assert $state equals 0
run zinit lbin'!* -> jq' for jqlang/jq; assert $state equals 0
local jq="$ZBIN/jq"; assert "$jq" is_executable
$jq --version; assert $state equals 0
}
Expand Down
2 changes: 1 addition & 1 deletion zinit-install.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ builtin source "${ZINIT[BIN_DIR]}/zinit-side.zsh" || {

+zinit-message "{error}❌ ERROR: jq binary not found" \
"{nl}{u-warn}Please install jq:{rst}" \
"https://github.com/stedolan/jq" \
"https://github.com/jqlang/jq" \
"{nl}{u-warn}To do so with zinit, please refer to:{rst}" \
"https://github.com/zdharma-continuum/zinit/wiki/%F0%9F%A7%8A-Recommended-ices#jq"
return 1
Expand Down

0 comments on commit de85908

Please sign in to comment.