cuspymd / tramp-term.el

Provides a quick way to create an ansi-term containing an ssh session with remote directory tracking already configured.
43 stars 12 forks source link

Allow an optional (user host) argument to tramp-term #14

Closed greened closed 5 years ago

greened commented 5 years ago

Sometimes we want to create a terminal non-interactively. For example, we might define some convenience functions:

(defun open-myhost () (interactive) (tramp-term '("myhost.mydomain.com")))

(defun open-myhost-as-user () (interactive) (tramp-term '("user" "myhost.mydomain.com")))

Allow tramp-term to take an optional argument specifying the host.

randymorris commented 5 years ago

I could see how this could be useful. Please bump the version number in the header so MELPA will pick up the change I'll go ahead and merge it.

Thanks!

greened commented 5 years ago

Done, thanks!

randymorris commented 5 years ago

Thanks. Merged.