diff --git a/bin/omarchy-agent b/bin/omarchy-agent index 6fe737af..8a8de05a 100755 --- a/bin/omarchy-agent +++ b/bin/omarchy-agent @@ -108,8 +108,12 @@ deepcode) [[ -n ${prompt:-} ]] && command+=("$prompt") ;; dim) - command=(dim) - [[ -n ${prompt:-} ]] && command+=("$prompt") + # `dim exec` is the documented one-shot prompt form + if [[ -n ${prompt:-} ]]; then + command=(dim exec "$prompt") + else + command=(dim) + fi ;; *) echo "Unsupported default agent: $agent" >&2