diff options
Diffstat (limited to 'docs/content/doc/installation/from-binary.en-us.md')
-rw-r--r-- | docs/content/doc/installation/from-binary.en-us.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md index 669180e38f..6f71b0b91e 100644 --- a/docs/content/doc/installation/from-binary.en-us.md +++ b/docs/content/doc/installation/from-binary.en-us.md @@ -129,6 +129,16 @@ export GITEA_WORK_DIR=/var/lib/gitea/ cp gitea /usr/local/bin/gitea ``` +### 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 can be copied to `/usr/share/bash-completion/completions/gitea` +or sourced within your `.bashrc`. + +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 +`.zshrc`. + +YMMV and these scripts may need further improvement. + ## Running Gitea After you complete the above steps, you can run Gitea two ways: |