Add installation method in the README
This commit is contained in:
parent
cebb21818e
commit
27ae353336
22
README.org
22
README.org
@ -34,14 +34,24 @@ your ~load-path~ and add the following to your ~.emacs~ or your ~init.el~:
|
|||||||
(add-hook 'eshell-banner-load-hook 'eshell-info-banner-update-banner)
|
(add-hook 'eshell-banner-load-hook 'eshell-info-banner-update-banner)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
If you use ~use-package~ only, you can then install it like so:
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package eshell-info-banner
|
||||||
|
:ensure t
|
||||||
|
:defer t
|
||||||
|
:load-path "~/path/to/where/you/cloned/it/eshell-info-banner.el/"
|
||||||
|
:hook (eshell-banner-load . eshell-info-banner-update-banner))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
In my case, I prefer using ~use-package~ with ~straight~:
|
In my case, I prefer using ~use-package~ with ~straight~:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package eshell-info-banner
|
(use-package eshell-info-banner
|
||||||
:defer t
|
:ensure t
|
||||||
:straight (eshell-info-banner :type git
|
:defer t
|
||||||
:host github
|
:straight (eshell-info-banner :type git
|
||||||
:repo "phundrak/eshell-info-banner.el")
|
:host github
|
||||||
:hook (eshell-banner-load . eshell-info-banner-update-banner))
|
:repo "phundrak/eshell-info-banner.el")
|
||||||
|
:hook (eshell-banner-load . eshell-info-banner-update-banner))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
I personally also added ~:build t~ in the straight recipe to ensure
|
I personally also added ~:build t~ in the straight recipe to ensure
|
||||||
|
Loading…
Reference in New Issue
Block a user