diff --git a/emacs/init.org b/emacs/init.org index c949122..e134be5 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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)