akermu/emacs-libvterm

Option to run a custom command instead of the sell

Opened this issue · 1 comments

It would be nice to have an option to run a specific single command instead of an entire shell, like one can do with ansi-term at the moment:

(vterm "ping 8.8.8.8")

I've worked around this with a custom function:

(defun domacs--vterm (command)
   "Our Custom function to start vterm with an command"
   (vterm command)
   (vterm-send-string command t)
   (vterm-send-return)
   )