Update cheatsheets

This commit is contained in:
ivuorinen
2025-08-17 00:22:45 +00:00
parent 38ecb2b6c5
commit 42c0c33dde
259 changed files with 1079 additions and 386 deletions

View File

@@ -6,12 +6,22 @@ source: https://github.com/tldr-pages/tldr.git
# compopt
> Print or change the completion options for a command.
> More information: <https://manned.org/compopt>.
> `-o` means enabled and `+o` means disabled.
> See also: `compgen`, `complete`.
> More information: <https://www.gnu.org/software/bash/manual/bash.html#index-compopt>.
- Print the completion options for given command:
`compopt {{command}}`
- Enable or disable a completion option of a command:
`compopt {{-o|+o}} {{option1}} {{-o|+o}} {{option2}} {{command}}`
- Print the options for the currently executing completion:
`compopt`
- Print the completion options for given command:
- Enable or disable a completion option of a command:
`compopt {{command}}`
`compopt {{-o|+o}} {{option1}} {{-o|+o}} {{option2}}`