aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorjixiuf <jixiuf@qq.com>2019-12-09 17:58:57 +0800
committerjixiuf <jixiuf@qq.com>2019-12-09 17:58:57 +0800
commit61ce8efe5b6ef65e3af421aab63ebc3610bdf5af (patch)
treedb52e288c2f7924f98e54957b4bc92bbdd8fc1c4 /README.md
parent376db7cf4162d9b1674ba051c671918318abe08f (diff)
fix #197
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3f3ccbc..a0d4e5d 100644
--- a/README.md
+++ b/README.md
@@ -188,7 +188,7 @@ For `bash`, put this at the end of your `.bashrc`:
vterm_prompt_end(){
printf "\e]51;A$(whoami)@$(hostname):$(pwd)\e\\"
}
-PS1=$PS1'$(vterm_prompt_end)'
+PS1=$PS1'\[$(vterm_prompt_end)\]'
```
For `fish`, put this in your `~/.config/fish/config.fish`: