aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArjan Adriaanse <arjan@adriaan.se>2020-05-06 14:28:13 +0200
committerGabriele Bozzola <sbozzolator@gmail.com>2020-09-05 11:55:48 -0700
commitae6dc9bc8598b6265eb09f9e2a175a46ea496258 (patch)
tree8c373e7e0d4911d8ec1148b5637dd6b76a1b0497 /README.md
parent8f00dc90abbdb101b94bf63f9b1cb0ac9a147f40 (diff)
Add shell configuration files
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md
index 918e112..8e86786 100644
--- a/README.md
+++ b/README.md
@@ -227,6 +227,15 @@ if [[ "$INSIDE_EMACS" = 'vterm' ]]; then
}
fi
```
+For `fish`:
+```
+if [ "$INSIDE_EMACS" = 'vterm' ]
+ function clear
+ vterm_printf "51;Evterm-clear-scrollback";
+ tput clear;
+ end
+end
+```
These aliases take advantage of the fact that `vterm` can execute `elisp`
commands, as explained below.
@@ -549,6 +558,14 @@ Then you can open any file from inside your shell.
open_file_below ~/Documents
```
+## Shell-side configuration files
+
+The configurations described in earlier sections are combined in
+[`etc/`](./etc/). These can be appended to or loaded into your user
+configuration file. Alternatively, they can be installed system-wide, for
+example in `/etc/bash/bashrc.d/`, `/etc/profile.d/` (for `zsh`), or
+`/etc/fish/conf.d/` for `fish`.
+
## Frequently Asked Questions and Problems
### `<C-backspace>` doesn't kill previous word.