Terminfo and shell integration for eat.el

This commit is contained in:
ama 2023-09-13 16:22:27 +02:00
parent 4bf6964455
commit 0d9f742499
11 changed files with 218 additions and 0 deletions

17
install-eat.sh Normal file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# Install special files for the eat emacs terminal emulator.
# ama 2023
EAT_SHELL_INTEGRATION_DIR=~/.emacs.d/elpa/eat-0.8/integration
cp -r eat/* ~/
cat >>~/.bashrc <<-EOF
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \
&& source "$EAT_SHELL_INTEGRATION_DIR/bash"
EOF
cat >>~/.zshrc <<-EOF
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \
&& source "$EAT_SHELL_INTEGRATION_DIR/zsh"
EOF