Emacs: sudo over tramp and longer password caching

This commit is contained in:
Marcel Kapfer 2018-03-13 16:47:48 +01:00
parent cbff2d30fa
commit 8a7a3a8c7d
1 changed files with 3 additions and 1 deletions

View File

@ -1210,7 +1210,9 @@
(use-package tramp (use-package tramp
:init :init
;; Set default connection method for TRAMP ;; Set default connection method for TRAMP
(setq tramp-default-method "ssh")) (setq tramp-default-method "ssh")
(require 'em-tramp)
(setq password-cache-expiry 3600))
;; telephone-line ;; telephone-line
;; A new implementation of Powerline for Emacs ;; A new implementation of Powerline for Emacs