diff options
Diffstat (limited to 'docs/content/doc/installation/from-source.en-us.md')
-rw-r--r-- | docs/content/doc/installation/from-source.en-us.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md index 4394d19203..ae3ddc5c41 100644 --- a/docs/content/doc/installation/from-source.en-us.md +++ b/docs/content/doc/installation/from-source.en-us.md @@ -193,3 +193,13 @@ LDFLAGS="-linkmode external -extldflags '-static' $LDFLAGS" TAGS="netgo osusergo ``` This can be combined with `CC`, `GOOS`, and `GOARCH` as above. + +### Adding bash/zsh autocompletion (from 1.19) + +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` +or copied as `/usr/share/bash-completion/completions/gitea`. + +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 +`.zshrc`. + +YMMV and these scripts may need further improvement. |