]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
tramp: add ~/bin/ to remote-path and use method "sshx".
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 7 Jul 2015 12:12:02 +0000 (14:12 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 7 Jul 2015 12:12:02 +0000 (14:12 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index c4ca765b2ed1e8e553569a947311e539fe41ea84..dd91292af389a725581f654703929234cb5cea53 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -965,7 +965,8 @@ You may start it at the end of the config file.
 
 #+BEGIN_SRC emacs-lisp
   (load-library "tramp")
-  (setq default-tramp-method "sftp")
+  (add-to-list 'tramp-remote-path "~/bin")
+  (setq default-tramp-method "sshx")
 #+END_SRC
 
 With this you can do /sudo:ssh-host:file-on-ssh-host