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

+3 -3
View File
@@ -23,12 +23,12 @@ omarchy-cmd-present "$editor" || editor="nvim"
case "${editor##*/}" in
nvim | vim | nano | micro | hx | helix | fresh)
if [[ $inline == "true" ]]; then
exec "$editor" "$@"
exec "$editor" -- "$@"
else
exec omarchy-launch-tui "$editor" "$@"
exec omarchy-launch-tui "$editor" -- "$@"
fi
;;
*)
exec setsid uwsm-app -- "$editor" "$@"
exec setsid uwsm-app -- "$editor" -- "$@"
;;
esac