Add shell option for copying and fix newline in here document.
This commit is contained in:
parent
0d9f742499
commit
a27a1adc89
1 changed files with 3 additions and 2 deletions
5
install-eat.sh
Normal file → Executable file
5
install-eat.sh
Normal file → Executable file
|
|
@ -1,17 +1,18 @@
|
|||
#!/bin/bash
|
||||
# Install special files for the eat emacs terminal emulator.
|
||||
# ama 2023
|
||||
shopt -s dotglob
|
||||
|
||||
EAT_SHELL_INTEGRATION_DIR=~/.emacs.d/elpa/eat-0.8/integration
|
||||
|
||||
cp -r eat/* ~/
|
||||
|
||||
cat >>~/.bashrc <<-EOF
|
||||
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \
|
||||
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \\
|
||||
&& source "$EAT_SHELL_INTEGRATION_DIR/bash"
|
||||
EOF
|
||||
|
||||
cat >>~/.zshrc <<-EOF
|
||||
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \
|
||||
[ -e "$EAT_SHELL_INTEGRATION_DIR" ] \\
|
||||
&& source "$EAT_SHELL_INTEGRATION_DIR/zsh"
|
||||
EOF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue