aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGabriele Bozzola <sbozzolator@gmail.com>2020-09-06 17:08:30 -0700
committerGabriele Bozzola <sbozzolator@gmail.com>2020-09-06 17:08:30 -0700
commit864f014de75686f55b64bf15d690d2875eb20ad7 (patch)
tree034f231604791f168db7a6fa62af285fe216e0b7 /README.md
parent216f2662d4967170c7273618078fb098b3c55f0e (diff)
Add vterm_cmd to etc/shells
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b994eac..5453bfb 100644
--- a/README.md
+++ b/README.md
@@ -456,7 +456,7 @@ For `fish`, put this in your `~/.config/fish/config.fish`:
function vterm_prompt_end;
vterm_printf '51;A'(whoami)'@'(hostname)':'(pwd)
end
-functions -c fish_prompt vterm_old_fish_prompt
+functions --copy fish_prompt vterm_old_fish_prompt
function fish_prompt --description 'Write out the prompt; do not replace this. Instead, put this at end of your file.'
# Remove the trailing newline from the original prompt. This is done
# using the string builtin from fish, but to make sure any escape codes
@@ -510,7 +510,7 @@ vterm_cmd() {
```
`fish`:
```sh
-function vterm_cmd --description 'Run an emacs command that\'s been defined in vterm-eval-cmds'
+function vterm_cmd --description 'Run an emacs command among the ones been defined in vterm-eval-cmds.'
set -l vterm_elisp ()
for arg in $argv
set -a vterm_elisp (printf '"%s" ' (string replace -a -r '([\\\\"])' '\\\\\\\\$1' $arg))