Treat command operands as literal values

This commit is contained in:
LM committed 2026-09-12 17:57:33 +02:00
1 parent 31bd80daa4
commit b72d7e5768
11 files changed
+276 -17

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
# omarchy:summary=Check whether any required commands are missing
for cmd in "$@"; do
if ! command -v "$cmd" &>/dev/null; then
if ! command -v -- "$cmd" &>/dev/null; then
exit 0
fi
done