Eshell: Set password expiry to 1 hour

master
Pierre Neidhardt 2018-01-17 10:10:26 +01:00
parent fecad3a312
commit 63c51121fb
1 changed files with 2 additions and 2 deletions

View File

@ -96,10 +96,10 @@
(setq eshell-directory-name (concat emacs-cache-folder "eshell"))
;;; Use native 'sudo', system sudo asks for password every time.
;;; Use TRAMP to use Eshell as root.
(require 'em-tramp)
(setq password-cache t)
(setq password-cache-expiry nil)
(setq password-cache-expiry 3600)
(with-eval-after-load 'esh-module
;; Don't print the banner.