killdash9 / better-shell

Emacs shell management
GNU General Public License v3.0
40 stars 7 forks source link

sudo-here doesn't work anymore #10

Closed WorldsEndless closed 5 years ago

WorldsEndless commented 6 years ago

Every time I attempt it, I get the following (true) error:

Host name must not match method "ssh"

The majority of my browsing is started with something like

C-x C-f `myserver:/place'

(using sshconfig so the above works)

My prompt after the above is something like /ssh:myserver:/place

WorldsEndless commented 6 years ago

My work-around is to change my find-files to do /sudo:myserver:/place which is just what sudo-here originally eased.

WorldsEndless commented 5 years ago

This is because the current implementation doesn't work with ssh aliases (where ssh xyz might be short for ssh myuser@xyz.com). I'm preparing a pull-request for this: #12