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
@@ -4,7 +4,7 @@
# omarchy:args=<packages...>
for pkg in "$@"; do
if ! pacman -Q "$pkg" &>/dev/null; then
if ! pacman -Q -- "$pkg" &>/dev/null; then
exit 0
fi
done