X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/98ed7cc2ba10a33b2ed9ff360579bb661d892660..94e3dae355ff33f8d142f072577193c5c358df99:/dot/emacs diff --git a/dot/emacs b/dot/emacs index b278d9a..8832f3f 100644 --- a/dot/emacs +++ b/dot/emacs @@ -602,8 +602,9 @@ (setq tramp-default-method "ssh") (setq tramp-default-method-alist `(("\\`\\(localhost\\|\\)\\'" "" - ,(cond ((executable-find "become") "become") - ((executable-find "really") "really") + ,(cond ((executable-find "really") "really") + ((executable-find "become") "become") + ((executable-find "sudo") "sudo") (t "su"))))))) ;;;--------------------------------------------------------------------------