diff options
author | Case Duckworth | 2023-01-30 12:24:02 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-30 12:24:02 -0600 |
commit | ff41d9acc805099f27f1cf060ca9db72d2fdb74f (patch) | |
tree | f3831f08979bd1395fc4c737ade866e13700df3b /bash/vterm-emacs.bash | |
parent | meh. (diff) | |
download | etc-ff41d9acc805099f27f1cf060ca9db72d2fdb74f.tar.gz etc-ff41d9acc805099f27f1cf060ca9db72d2fdb74f.zip |
Bash!
Diffstat (limited to 'bash/vterm-emacs.bash')
-rw-r--r-- | bash/vterm-emacs.bash | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bash/vterm-emacs.bash b/bash/vterm-emacs.bash deleted file mode 100644 index 88d3e09..0000000 --- a/bash/vterm-emacs.bash +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | # shell-side configuration for Emacs vterm module | ||
2 | # https://github.com/akermu/emacs-libvterm#shell-side-configuration | ||
3 | # Make sure this is the last file loaded by ~/.bashrc! | ||
4 | |||
5 | # Load the requisite code from the vterm install directory | ||
6 | if [[ "$INSIDE_EMACS" = 'vterm' ]] \ | ||
7 | && [[ -n ${EMACS_VTERM_PATH} ]] \ | ||
8 | && [[ -f ${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh ]]; then | ||
9 | source ${EMACS_VTERM_PATH}/etc/emacs-vterm-bash.sh | ||
10 | fi | ||
11 | |||
12 | # Extra commands for `vterm-eval-cmds' | ||
13 | |||
14 | find_file() { | ||
15 | vterm_cmd find-file "$(realpath "${@:-.}")" | ||
16 | } | ||
17 | |||
18 | say() { | ||
19 | vterm_cmd message "%s" "$*" | ||
20 | } | ||
21 | |||
22 | |||
23 | |||