X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/blobdiff_plain/2e60c7f3384942f96c363ae9cd3cf9fdacb5e852..90390240487da0045dac91f05098c59d0cc45981:/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"))))))) ;;;--------------------------------------------------------------------------