Skip to content

Commit 00f29e0

Browse files
committed
Remove zsh; move manual from Linux to the top
1 parent 70a1d88 commit 00f29e0

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/src/docs/welcome/integrations.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,9 @@ The following plugins support `golangci-lint`:
5252

5353
`golangci-lint` can generate Bash, fish, PowerShell, and Zsh completion files.
5454

55-
### macOS
56-
57-
#### Zsh
58-
59-
To use `golangci-lint` completion on macOS with `zsh`, which is the default shell since Catalina,
60-
follow the instructions on `golangci-lint completion zsh --help`.
55+
See the instructions on `golangci-lint completion <YOUR_SHELL> --help` (replace `<YOUR_SHELL>` with your favorite one).
6156

62-
#### Bash
57+
### macOS
6358

6459
There are two versions of `bash-completion`, v1 and v2. V1 is for Bash 3.2 and v2 is for Bash 4.1+. The `golangci-lint` completion script doesn’t work correctly with bash-completion v1 and Bash 3.2. It requires bash-completion v2 and Bash 4.1+. Thus, to be able to correctly use `golangci-lint` completion on macOS, you have to install and use Bash 4.1+ ([instructions](https://itnext.io/upgrading-bash-on-macos-7138bd1066ba)). The following instructions assume that you use Bash 4.1+ (that is, any Bash version of 4.1 or newer).
6560

@@ -80,10 +75,6 @@ echo 'source <(golangci-lint completion bash)' >>~/.bashrc
8075
source ~/.bashrc
8176
```
8277

83-
### Linux
84-
85-
See the instructions on `golangci-lint completion <YOUR_SHELL> --help` (replace `<YOUR_SHELL>` with your favorite one).
86-
8778
## CI Integration
8879

8980
See our [GitHub Action](/welcome/install/#github-actions).

0 commit comments

Comments
 (0)