fix(cli): support `noexec` environments (#13042)

Closes #13032
master
Carlo Sala 1 year ago committed by GitHub
parent a78d006faa
commit f81259fb34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      lib/cli.zsh
  2. 2
      tools/upgrade.sh

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

@ -254,7 +254,7 @@ if LANG= git pull --quiet --rebase $remote $branch; then
# Print changelog to the terminal # Print changelog to the terminal
if [[ $interactive == true && $verbose_mode == default ]]; then if [[ $interactive == true && $verbose_mode == default ]]; then
"$ZSH/tools/changelog.sh" HEAD "$last_commit" ZSH="$ZSH" command zsh -f "$ZSH/tools/changelog.sh" HEAD "$last_commit"
fi fi
if [[ $verbose_mode != silent ]]; then if [[ $verbose_mode != silent ]]; then

Loading…
Cancel
Save