# shellcheck disable=SC2312
escape() { printf "'%s'\\n" "$(printf '%s' "$1" | sed -e "s/'/'\\\\''/g")"; }
[ "$#" -eq 0 ] && args="" || args="$(escape "$@")"

# (($# == 0)) && args="" || args="${(z)@}"
# [ "$#" -eq 0 ] && args="" || args="$(printf '%q ' "$@")"
