github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/cmd/goreleaser_completion_bash.md (about) 1 # goreleaser completion bash 2 3 generate the autocompletion script for bash 4 5 ## Synopsis 6 7 8 Generate the autocompletion script for the bash shell. 9 10 This script depends on the 'bash-completion' package. 11 If it is not installed already, you can install it via your OS's package manager. 12 13 To load completions in your current shell session: 14 $ source <(goreleaser completion bash) 15 16 To load completions for every new session, execute once: 17 Linux: 18 $ goreleaser completion bash > /etc/bash_completion.d/goreleaser 19 MacOS: 20 $ goreleaser completion bash > /usr/local/etc/bash_completion.d/goreleaser 21 22 You will need to start a new shell for this setup to take effect. 23 24 25 ``` 26 goreleaser completion bash 27 ``` 28 29 ## Options 30 31 ``` 32 -h, --help help for bash 33 --no-descriptions disable completion descriptions 34 ``` 35 36 ## Options inherited from parent commands 37 38 ``` 39 --debug Enable debug mode 40 ``` 41 42 ## See also 43 44 * [goreleaser completion](/cmd/goreleaser_completion/) - generate the autocompletion script for the specified shell 45