compgen: add example to show completing given strings (#15287)
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
|
||||
`compgen -c`
|
||||
|
||||
- List all commands that you could run that start with a specified string:
|
||||
|
||||
`compgen -c {{str}}`
|
||||
|
||||
- List all aliases:
|
||||
|
||||
`compgen -a`
|
||||
|
Reference in New Issue
Block a user