You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A script to enable bash-completion can be found at [`contrib/autocompletion/bash_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/autocompletion/bash_autocomplete). This can be copied to `/usr/share/bash-completion/completions/gitea`
135
+
or sourced within your `.bashrc`.
136
+
137
+
Similarly a script for zsh-completion can be found at [`contrib/autocompletion/zsh_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/autocompletion/zsh_autocomplete). This can be copied to `/usr/share/zsh/_gitea` or sourced within your
138
+
`.zshrc`.
139
+
140
+
YMMV and these scripts may need further improvement.
141
+
132
142
## Running Gitea
133
143
134
144
After you complete the above steps, you can run Gitea two ways:
This can be combined with `CC`, `GOOS`, and `GOARCH` as above.
196
+
197
+
### Adding bash/zsh autocompletion (from 1.19)
198
+
199
+
A script to enable bash-completion can be found at [`contrib/autocompletion/bash_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/autocompletion/bash_autocomplete). This should be altered as appropriate and can be `source` in your `.bashrc`
200
+
or copied as `/usr/share/bash-completion/completions/gitea`.
201
+
202
+
Similary a script for zsh-completion can be found at [`contrib/autocompletion/zsh_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/main/contrib/autocompletion/zsh_autocomplete). This can be copied to `/usr/share/zsh/_gitea` or sourced within your
203
+
`.zshrc`.
204
+
205
+
YMMV and these scripts may need further improvement.
0 commit comments