]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
fixing tramp/sudo.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 21 Oct 2016 12:17:30 +0000 (14:17 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 21 Oct 2016 12:17:30 +0000 (14:17 +0200)
bba.org

diff --git a/bba.org b/bba.org
index a485de3711bda14aaaffbddab9a5a8f9fdbb9b4f..528ef85c4a203b744d9f0ae51bd36f0efed22984 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1620,7 +1620,7 @@ You may start it at the end of the config file.
 With this you can do /sudo:ssh-host:file-on-ssh-host
 
 #+BEGIN_SRC emacs-lisp
-  (add-to-list 'tramp-default-proxies-alist '(".*" "\`root\'" "/ssh:%h:"))
+  (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
 #+END_SRC
 
 * [[http://www.twmode.sourceforge.net/][twitter]]