mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
compgen: add example to show completing given strings (#15287)
This commit is contained in:
parent
b4a0f48d60
commit
2bae5a67f4
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@
|
||||||
|
|
||||||
`compgen -c`
|
`compgen -c`
|
||||||
|
|
||||||
|
- List all commands that you could run that start with a specified string:
|
||||||
|
|
||||||
|
`compgen -c {{str}}`
|
||||||
|
|
||||||
- List all aliases:
|
- List all aliases:
|
||||||
|
|
||||||
`compgen -a`
|
`compgen -a`
|
||||||
|
|
Loading…
Add table
Reference in a new issue