; * README.org (Usage): Fix Eshell instructions
This commit is contained in:
parent
978aff9166
commit
94e56712e3
1 changed files with 5 additions and 7 deletions
12
README.org
12
README.org
|
@ -52,16 +52,14 @@ with Eshell. Eat has two global minor modes for Eshell:
|
||||||
the above three keybinding modes here too, except that =C-c C-k= is
|
the above three keybinding modes here too, except that =C-c C-k= is
|
||||||
not special (i.e. not bound by Eat) in "emacs" mode and "line" mode.
|
not special (i.e. not bound by Eat) in "emacs" mode and "line" mode.
|
||||||
|
|
||||||
You can add any of these to ~eshell-first-time-mode-hook~ like the
|
You can add any of these to ~eshell-load-hook~ like the following:
|
||||||
following:
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; For `eat-eshell-visual-command-mode'.
|
|
||||||
(add-hook 'eshell-first-time-mode-hook
|
|
||||||
#'eat-eshell-visual-command-mode)
|
|
||||||
|
|
||||||
;; For `eat-eshell-mode'.
|
;; For `eat-eshell-mode'.
|
||||||
(add-hook 'eshell-first-time-mode-hook #'eat-eshell-mode)
|
(add-hook 'eshell-load-hook #'eat-eshell-mode)
|
||||||
|
|
||||||
|
;; For `eat-eshell-visual-command-mode'.
|
||||||
|
(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
To setup shell integration for GNU Bash, put the following at the end
|
To setup shell integration for GNU Bash, put the following at the end
|
||||||
|
|
Loading…
Add table
Reference in a new issue