feat: use use-package hooks rather than initialisation hooks
This commit is contained in:
parent
ffac1651ac
commit
85106bba28
1 changed files with 3 additions and 3 deletions
|
@ -71,9 +71,9 @@
|
||||||
(c-basic-offset 4))
|
(c-basic-offset 4))
|
||||||
|
|
||||||
(use-package eat
|
(use-package eat
|
||||||
:init
|
:hook (eshell-load . (lambda ()
|
||||||
(add-hook 'eshell-load-hook #'eat-eshell-mode)
|
(eat-eshell-mode)
|
||||||
(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode)
|
(eat-eshell-visual-command-mode)))
|
||||||
:bind (("C-c t" . eat)
|
:bind (("C-c t" . eat)
|
||||||
("C-x p t" . eat-project)))
|
("C-x p t" . eat-project)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue