mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-09 21:46:02 +02:00
rlwrap: refresh page (#16715)
This commit is contained in:
parent
58f86019ef
commit
c528eed4bd
1 changed files with 5 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# rlwrap
|
# rlwrap
|
||||||
|
|
||||||
> Add line editing, persistent history and prompt completion to a REPL command.
|
> Add line editing, persistent history and prompt completion to a REPL command.
|
||||||
> More information: <https://github.com/hanslub42/rlwrap>.
|
> More information: <https://manned.org/rlwrap>.
|
||||||
|
|
||||||
- Run a REPL command with line editing, persistent history and prompt completion:
|
- Run a REPL command with line editing, persistent history and prompt completion:
|
||||||
|
|
||||||
|
@ -9,16 +9,16 @@
|
||||||
|
|
||||||
- Use all words seen on input and output for prompt completion:
|
- Use all words seen on input and output for prompt completion:
|
||||||
|
|
||||||
`rlwrap --remember {{command}}`
|
`rlwrap {{[-r|--remember]}} {{command}}`
|
||||||
|
|
||||||
- Better prompt completion if prompts contain ANSI colour codes:
|
- Better prompt completion if prompts contain ANSI colour codes:
|
||||||
|
|
||||||
`rlwrap --ansi-colour-aware {{command}}`
|
`rlwrap {{[-A|--ansi-colour-aware]}} {{command}}`
|
||||||
|
|
||||||
- Enable filename completion (case sensitive):
|
- Enable filename completion (case sensitive):
|
||||||
|
|
||||||
`rlwrap --complete-filenames {{command}}`
|
`rlwrap {{[-c|--complete-filenames]}} {{command}}`
|
||||||
|
|
||||||
- Add coloured prompts, use colour name, or an ASCI-conformant colour specification. Use an uppercase colour name for bold styling:
|
- Add coloured prompts, use colour name, or an ASCI-conformant colour specification. Use an uppercase colour name for bold styling:
|
||||||
|
|
||||||
`rlwrap --prompt-colour={{black|red|green|yellow|blue|cyan|purple|white|colour_spec}} {{command}}`
|
`rlwrap {{[-p|--prompt-colour=]}}{{black|red|green|yellow|blue|cyan|purple|white|colour_spec}} {{command}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue