* README.org: Add shell integration instructions
This commit is contained in:
parent
8188f71562
commit
693940c733
1 changed files with 10 additions and 0 deletions
10
README.org
10
README.org
|
@ -15,6 +15,8 @@ have, for example complete mouse support.
|
||||||
It flickers less than other Emacs terminal emulator, so you get more
|
It flickers less than other Emacs terminal emulator, so you get more
|
||||||
performance and a smooth experience.
|
performance and a smooth experience.
|
||||||
|
|
||||||
|
To get the most out of Eat, you should also setup shell integration.
|
||||||
|
|
||||||
* Usage
|
* Usage
|
||||||
|
|
||||||
To start Eat, run =M-x eat=. Eat has three keybinding modes:
|
To start Eat, run =M-x eat=. Eat has three keybinding modes:
|
||||||
|
@ -62,6 +64,14 @@ following:
|
||||||
(add-hook 'eshell-first-time-mode-hook #'eat-eshell-mode)
|
(add-hook 'eshell-first-time-mode-hook #'eat-eshell-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
To setup shell integration for GNU Bash, put the following at the end
|
||||||
|
of your ~.bashrc~:
|
||||||
|
|
||||||
|
#+begin_src sh
|
||||||
|
[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
|
||||||
|
source "$EAT_SHELL_INTEGRATION_DIR/bash"
|
||||||
|
#+end_src sh
|
||||||
|
|
||||||
* Installation
|
* Installation
|
||||||
|
|
||||||
Eat requires at least Emacs 28.1 or above.
|
Eat requires at least Emacs 28.1 or above.
|
||||||
|
|
Loading…
Add table
Reference in a new issue