aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-11 22:34:11 +0100
committerJustin M. Keyes <justinkz@gmail.com>2025-03-17 12:06:38 +0100
commitcab3950762f770f295d6a623d20aab9388bfc7ad (patch)
tree08375fcdedf289984c96398da33ca77c90d9fcee
parentd0cda9d6c59d88314b67f251a1c13216424aebcf (diff)
downloadrneovim-cab3950762f770f295d6a623d20aab9388bfc7ad.tar.gz
rneovim-cab3950762f770f295d6a623d20aab9388bfc7ad.tar.bz2
rneovim-cab3950762f770f295d6a623d20aab9388bfc7ad.zip
docs: OSC 133
The "end" termcode is not actually needed for our purposes. And the suggested $PS1 has trouble with bash's "reverse find" (CTRL-r) feature, probably because I did it wrong...
-rw-r--r--runtime/doc/terminal.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/doc/terminal.txt b/runtime/doc/terminal.txt
index ea8a1c2565..10fa40cf54 100644
--- a/runtime/doc/terminal.txt
+++ b/runtime/doc/terminal.txt
@@ -200,13 +200,10 @@ doesn't interfere).
- kitty: https://sw.kovidgoyal.net/kitty/shell-integration/
- vscode: https://code.visualstudio.com/docs/terminal/shell-integration
-To configure bash to mark the start/end of each prompt, set $PROMPT_COMMAND
-and $PS1 as follows: >bash
+To configure bash to mark the start of each prompt, set $PROMPT_COMMAND: >bash
# Prompt start:
PROMPT_COMMAND='printf "\033]133;A\007"'
- # Prompt end:
- PS1="$PS1"'\033]133;B\007'
<
*terminal_]]* *terminal_[[*
The |]]| and |[[| motions jump to the next/previous prompts, if your shell