Replace command with direct shopify call for theme list

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robby Russell
2026-09-05 15:35:50 -07:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent 419fc5e9b5
commit e2be8df511
+1 -2
View File
@@ -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=""