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

Don't prefix ssh: to the front of the username #10

Closed jamezpolley closed 5 years ago

jamezpolley commented 5 years ago

As of emacs 25ish, the ssh: is no longer implied. When it's used, it ends up in $USER already, so we need to not insert it again here.

A better fix might be to look to see if USER starts with "ssh:" and add it if it's absent

randymorris commented 5 years ago

My apologies for never responding to this. Notifications for this project were turned off and I recently stumbled on a thread on reddit where someone pointed out this issue. As a result of that thread someone #13 which includes this change but also keeps tramp-term working in 26.1. I'm going to go ahead and close this as a duplicate even though it was opened first. Thank you for taking the time to submit this fix.