#!/bin/bash # One hop between the expansion and the home path it carries. The token in the # heredoc has no slash and the value never resolves to a literal path, so a scan # that rescues unresolved values would exempt a unit baking the user's home into # /etc/systemd/system. helper="$HOME/.local/share/omarchy/bin/omarchy-agent" # omarchy:heredoc-expands paths=none -- helper is just the agent command name cat </dev/null [Service] ExecStart=$helper EOF