Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to run a custom command instead of the sell #707

Open
kuba-orlik opened this issue Mar 7, 2024 · 1 comment
Open

Option to run a custom command instead of the sell #707

kuba-orlik opened this issue Mar 7, 2024 · 1 comment

Comments

@kuba-orlik
Copy link

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")
@domsch1988
Copy link

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)
   )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants