]> source.dussan.org Git - gitea.git/commit
Add Bash and Zsh completion scripts (#22646)
authorzeripath <art27@cantab.net>
Tue, 21 Feb 2023 17:32:24 +0000 (17:32 +0000)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2023 17:32:24 +0000 (12:32 -0500)
commit43405c35f07d8f6fb7c177cf599e19090020527e
treeccf1758bd4098b523282585f5e8b26365b9fa027
parent4de5cd9f367fe73815b1c72ffc54a5118cc8e1d6
Add Bash and Zsh completion scripts (#22646)

This PR adds contrib scripts for bash and zsh completion.

Simply call:

```bash
source contrib/autocompletion/bash_autocomplete
```

or for Zsh:

```bash
source contrib/autocompletion/zsh_autocomplete
```

Signed-off-by: Andrew Thornton <art27@cantab.net>
---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: a1012112796 <1012112796@qq.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Dockerfile
Dockerfile.rootless
contrib/autocompletion/README [new file with mode: 0644]
contrib/autocompletion/bash_autocomplete [new file with mode: 0755]
contrib/autocompletion/zsh_autocomplete [new file with mode: 0644]
docs/content/doc/installation/from-binary.en-us.md
docs/content/doc/installation/from-source.en-us.md
main.go