Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/rlwrap Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
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>.
- Run a REPL command with line editing, persistent history and prompt completion:
`rlwrap {{command}}`
- Use all words seen on input and output for prompt completion:
`rlwrap --remember {{command}}`
- Better prompt completion if prompts contain ANSI colour codes:
`rlwrap --ansi-colour-aware {{command}}`
- Enable filename completion (case sensitive):
`rlwrap --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}}`