mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 03:52:56 +00:00
Update cheatsheets
This commit is contained in:
10
tldr/rlwrap
10
tldr/rlwrap
@@ -6,7 +6,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# rlwrap
|
||||
|
||||
> 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:
|
||||
|
||||
@@ -14,16 +14,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
`rlwrap --ansi-colour-aware {{command}}`
|
||||
`rlwrap {{[-A|--ansi-colour-aware]}} {{command}}`
|
||||
|
||||
- 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:
|
||||
|
||||
`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}}`
|
||||
|
||||
Reference in New Issue
Block a user