2021-07-03 19:04:19 +02:00
|
|
|
# goreleaser completion bash
|
|
|
|
|
2021-12-21 21:14:20 +02:00
|
|
|
Generate the autocompletion script for bash
|
2021-07-03 19:04:19 +02:00
|
|
|
|
|
|
|
## Synopsis
|
|
|
|
|
|
|
|
Generate the autocompletion script for the bash shell.
|
|
|
|
|
|
|
|
This script depends on the 'bash-completion' package.
|
|
|
|
If it is not installed already, you can install it via your OS's package manager.
|
|
|
|
|
|
|
|
To load completions in your current shell session:
|
2021-12-21 21:14:20 +02:00
|
|
|
|
|
|
|
source <(goreleaser completion bash)
|
2021-07-03 19:04:19 +02:00
|
|
|
|
|
|
|
To load completions for every new session, execute once:
|
2021-12-21 21:14:20 +02:00
|
|
|
|
|
|
|
### Linux:
|
|
|
|
|
|
|
|
goreleaser completion bash > /etc/bash_completion.d/goreleaser
|
|
|
|
|
|
|
|
### macOS:
|
|
|
|
|
|
|
|
goreleaser completion bash > /usr/local/etc/bash_completion.d/goreleaser
|
2021-07-03 19:04:19 +02:00
|
|
|
|
|
|
|
You will need to start a new shell for this setup to take effect.
|
2021-12-21 21:14:20 +02:00
|
|
|
|
2021-07-03 19:04:19 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
goreleaser completion bash
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for bash
|
|
|
|
--no-descriptions disable completion descriptions
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--debug Enable debug mode
|
|
|
|
```
|
|
|
|
|
|
|
|
## See also
|
|
|
|
|
2021-12-21 21:14:20 +02:00
|
|
|
* [goreleaser completion](/cmd/goreleaser_completion/) - Generate the autocompletion script for the specified shell
|
2021-07-03 19:04:19 +02:00
|
|
|
|