From 0552f4523ce1945dd763243d51f4fcbc13ca896f Mon Sep 17 00:00:00 2001 From: nero-dv Date: Fri, 8 Aug 2025 21:55:21 +0000 Subject: [PATCH] Update versioned_docs/version-1.24/installation/from-binary.md (#259) The main branch is missing the directory where the autocompletion scripts were in. Version 1.24 does still have the scripts, so linked directly to them. Reviewed-on: https://gitea.com/gitea/docs/pulls/259 Reviewed-by: techknowlogick Co-authored-by: nero-dv Co-committed-by: nero-dv --- versioned_docs/version-1.24/installation/from-binary.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-1.24/installation/from-binary.md b/versioned_docs/version-1.24/installation/from-binary.md index 3326c4fb..5006751b 100644 --- a/versioned_docs/version-1.24/installation/from-binary.md +++ b/versioned_docs/version-1.24/installation/from-binary.md @@ -141,10 +141,10 @@ 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` +A script to enable bash-completion can be found at [`contrib/autocompletion/bash_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/refs/heads/release/v1.24/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 +Similarly a script for zsh-completion can be found at [`contrib/autocompletion/zsh_autocomplete`](https://raw.githubusercontent.com/go-gitea/gitea/refs/heads/release/v1.24/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.