diff options
Diffstat (limited to '.emacs.d/modules/thanos-shells.el')
-rw-r--r-- | .emacs.d/modules/thanos-shells.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.emacs.d/modules/thanos-shells.el b/.emacs.d/modules/thanos-shells.el index f8aaa9f..c421f48 100644 --- a/.emacs.d/modules/thanos-shells.el +++ b/.emacs.d/modules/thanos-shells.el @@ -35,12 +35,15 @@ ;; configuration with eat (require 'eshell) -(require 'eat) (setf eshell-visual-commands '()) -(add-hook 'eshell-load-hook #'eat-eshell-mode) -(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode) +(use-package eat + :straight t + :hook + (eshell-mode . eat-eshell-mode) + (eshell-mode . eat-eshell-visual-command-mode)) + ;;;; sudo completion (defun pcomplete/sudo () "Completion rules for the `sudo' command." |