docs: update "Shell Completion" instruction on Linux (#2829)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled

This commit is contained in:
Yuki Okushi 2022-05-08 18:16:53 +09:00 committed by GitHub
parent b1588facb9
commit 7c1d8b75bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ title: Integrations
## Shell Completion
`golangci-lint` can generate bash completion file.
`golangci-lint` can generate bash, fish, powershell, and zsh completion files.
### macOS
@ -58,7 +58,7 @@ source ~/.bashrc
### Linux
See [kubectl instructions](https://kubernetes.io/docs/tasks/tools/install-kubectl/#enabling-shell-autocompletion) and don't forget to replace `kubectl` with `golangci-lint`.
See the instructions on `golangci-lint completion <YOUR_SHELL> --help` (replace `<YOUR_SHELL>` with your favorite one).
## CI Integration