diff --git a/functions/omz-update b/functions/omz-update index 1eae89d5..0955159a 100644 --- a/functions/omz-update +++ b/functions/omz-update @@ -14,7 +14,7 @@ if ! git \ --git-dir="${OMZ}/.git" \ --work-tree="$OMZ" \ pull \ - "${auto_commit:---no-commit}" \ + $(is-true auto_commit || echo --no-commit) \ --strategy=recursive \ -X ours \ "${remote_name:-origin}" \