From de85908f8d0b89ff6327adfa285ca5a0c4302f2d Mon Sep 17 00:00:00 2001 From: Philipp Schmitt Date: Mon, 5 Jun 2023 10:02:55 +0200 Subject: [PATCH] fix: jq has moved from stedolan/jq to jqlang/jq (#530) --- doc/zsdoc/zinit-install.zsh.adoc | 2 +- doc/zsdoc/zinit.zsh.adoc | 4 ++-- tests/gh-r.zunit | 2 +- zinit-install.zsh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/zsdoc/zinit-install.zsh.adoc b/doc/zsdoc/zinit-install.zsh.adoc index 2c97b0191..a47515c73 100644 --- a/doc/zsdoc/zinit-install.zsh.adoc +++ b/doc/zsdoc/zinit-install.zsh.adoc @@ -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_ diff --git a/doc/zsdoc/zinit.zsh.adoc b/doc/zsdoc/zinit.zsh.adoc index 7a8d8e17e..e880a8ae6 100644 --- a/doc/zsdoc/zinit.zsh.adoc +++ b/doc/zsdoc/zinit.zsh.adoc @@ -1908,7 +1908,7 @@ ____ ____ -Has 117 line(s). Doesn't call other functions. +Has 120 line(s). Doesn't call other functions. Called by: @@ -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_ diff --git a/tests/gh-r.zunit b/tests/gh-r.zunit index f1e5106f4..8366df5de 100755 --- a/tests/gh-r.zunit +++ b/tests/gh-r.zunit @@ -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 } diff --git a/zinit-install.zsh b/zinit-install.zsh index 09cd8e39a..cde4ff7c5 100644 --- a/zinit-install.zsh +++ b/zinit-install.zsh @@ -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