diff options
author | Thanos Apollo <[email protected]> | 2023-10-04 14:51:54 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-10-04 14:51:54 +0300 |
commit | 3e78dc20e04edc0e0968b84b6371bf4414b7f22b (patch) | |
tree | 0beba5b147d12da8c34a65d3cdb703ca9cec5ce0 | |
parent | 7c4997cf91131ce8923ca2686ec05d715382fd5a (diff) |
emacs: (shells) use use-package for eat
-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." |