diff options
| author | Arjan Adriaanse <arjan@adriaan.se> | 2020-05-06 14:28:13 +0200 |
|---|---|---|
| committer | Gabriele Bozzola <sbozzolator@gmail.com> | 2020-09-05 11:55:48 -0700 |
| commit | ae6dc9bc8598b6265eb09f9e2a175a46ea496258 (patch) | |
| tree | 8c373e7e0d4911d8ec1148b5637dd6b76a1b0497 /README.md | |
| parent | 8f00dc90abbdb101b94bf63f9b1cb0ac9a147f40 (diff) | |
Add shell configuration files
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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. |
