Move nyan-prompt configuration to use-package
This commit is contained in:
parent
5fc3218f4b
commit
7a5d1f5567
8
init.el
8
init.el
@ -229,6 +229,12 @@
|
|||||||
:config
|
:config
|
||||||
(setq-default save-place t)
|
(setq-default save-place t)
|
||||||
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
(setq save-place-file (expand-file-name ".places" user-emacs-directory)))
|
||||||
|
|
||||||
|
;; Nyanyanyanyanya
|
||||||
|
(use-package nyan-prompt
|
||||||
|
:config
|
||||||
|
(add-hook 'eshell-load-hook 'nyan-prompt-enable))
|
||||||
|
|
||||||
(use-package smartparens-config
|
(use-package smartparens-config
|
||||||
:ensure smartparens
|
:ensure smartparens
|
||||||
:config
|
:config
|
||||||
@ -284,8 +290,6 @@
|
|||||||
; Nyanyanyanyanya
|
; Nyanyanyanyanya
|
||||||
(add-hook 'after-init-hook 'nyan-mode)
|
(add-hook 'after-init-hook 'nyan-mode)
|
||||||
|
|
||||||
(add-hook 'eshell-load-hook 'nyan-prompt-enable)
|
|
||||||
|
|
||||||
(setq zone-programs [zone-nyan])
|
(setq zone-programs [zone-nyan])
|
||||||
(zone-when-idle 60)
|
(zone-when-idle 60)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user