diff --git a/oni/home/services/emacs.scm b/oni/home/services/emacs.scm index 037b253..b7ee6fb 100644 --- a/oni/home/services/emacs.scm +++ b/oni/home/services/emacs.scm @@ -466,8 +466,8 @@ "vterm_cmd() {\n" " local vterm_elisp\n" " vterm_elisp=\"\"\n" - " while [ $# -gt 0]; do\n" - " vterm_elisp=\"vterm_elisp\"\"$(printf '\"%s\" ' \"$(printf \"%s\" \"$1\" | sed -e 's|\\\\|\\\\\\\\|g' -e 's|\"|\\\\\"|g')\")\"\n" + " while [ $# -gt 0 ]; do\n" + " vterm_elisp=\"$vterm_elisp\"\"$(printf '\"%s\" ' \"$(printf \"%s\" \"$1\" | sed -e 's|\\\\|\\\\\\\\|g' -e 's|\"|\\\\\"|g')\")\"\n" " shift\n" " done\n" " vterm_printf \"51;E$vterm_elisp\"\n"