fix(cli): support noexec environments

Closes #13032
This commit is contained in:
Carlo Sala 2025-03-29 12:45:48 +01:00
commit 3534a60dec
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A
2 changed files with 2 additions and 2 deletions

View file

@ -193,7 +193,7 @@ EOF
return 1
fi
"$ZSH/tools/changelog.sh" "$version" "${2:-}" "$format"
ZSH="$ZSH" command zsh -f "$ZSH/tools/changelog.sh" "$version" "${2:-}" "$format"
}
function _omz::plugin {