From e2be8df511cea7b82f83a39a71e371c8ba16dfe4 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Sat, 5 Sep 2026 15:35:50 -0700 Subject: [PATCH] Replace command with direct shopify call for theme list Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- plugins/shopify/_shopify | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/shopify/_shopify b/plugins/shopify/_shopify index e001a68d4..2f6d6ca2e 100644 --- a/plugins/shopify/_shopify +++ b/plugins/shopify/_shopify @@ -44,8 +44,7 @@ _shopify_themes() { if (( $#fresh )); then themes=("${(@f)$(< "$cache_file")}") else - json="$(command shopify theme list --json 2>/dev/null)" || return 1 - # One chunk per object, in zsh, so there is no dependency on jq. + json="$(shopify theme list --json 2>/dev/null)" || return 1 split="${json//\{/$nl}" for entry in ${(f)split}; do id="" name="" role=""