Treat command operands as literal values
This commit is contained in:
11 files changed
+276
-17
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user