Enable sudo password caching in eshell

This commit is contained in:
Jeremy Dormitzer 2020-06-02 09:40:29 -04:00
parent 753726cd3d
commit 8b1bd049dd

View File

@ -2579,6 +2579,23 @@ Make EShell's tab completion work like Bash's:
(setq eshell-cmpl-cycle-completions nil)
#+END_SRC
Add additional useful modules:
#+BEGIN_SRC emacs-lisp
(add-to-list 'eshell-modules-list 'eshell-tramp)
#+END_SRC
Prefer Lisp commands to external programs:
#+BEGIN_SRC emacs-lisp
(setq eshell-prefer-lisp-functions t
eshell-prefer-lisp-variables t)
#+END_SRC
Enable password caching:
#+BEGIN_SRC emacs-lisp
(setq password-cache t
password-cache-expiry 120)
#+END_SRC
Destroy shell buffers created by eshell when the process dies::
#+BEGIN_SRC emacs-lisp
(setq eshell-destroy-buffer-when-process-dies t)