Use PATH for panel helper commands

This commit is contained in:
David Heinemeier Hansson
2026-06-24 13:40:16 +02:00
parent d136585ef4
commit beea78084e
8 changed files with 31 additions and 21 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
set -euo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"
if matches=$(rg -n 'root\.bar\.omarchyPath|/bin/omarchy-' "$ROOT/shell/plugins/panels" -g '*.qml'); then
fail "panels do not resolve omarchy helpers through bar paths" "$matches"
fi
pass "panels avoid bar path resolution for omarchy helpers"