From cdee6b00c4f08c6e2572ac9c34509b071a38f9bb Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 23 Jan 2023 19:01:00 +0100 Subject: [PATCH] docs: better auto-completion help Closes https://git.coopcloud.tech/coop-cloud/organising/issues/328 --- cli/cli.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/cli.go b/cli/cli.go index e0090bae..5d63b471 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -85,7 +85,7 @@ Example: sudo mkdir /etc/bash_completion.d/ sudo cp %s /etc/bash_completion.d/abra echo "source /etc/bash_completion.d/abra" >> ~/.bashrc -# And finally run "abra app ps " to test things are working, you should see app domains listed! +# To test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) case "zsh": fmt.Println(fmt.Sprintf(` @@ -93,7 +93,7 @@ echo "source /etc/bash_completion.d/abra" >> ~/.bashrc sudo mkdir /etc/zsh/completion.d/ sudo cp %s /etc/zsh/completion.d/abra echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra" >> ~/.zshrc -# And finally run "abra app ps " to test things are working, you should see app domains listed! +# To test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) case "fish": fmt.Println(fmt.Sprintf(` @@ -101,7 +101,7 @@ echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra sudo mkdir -p /etc/fish/completions sudo cp %s /etc/fish/completions/abra echo "source /etc/fish/completions/abra" >> ~/.config/fish/config.fish -# And finally run "abra app ps " to test things are working, you should see app domains listed! +# To test, run the following: "abra app " - you should see command completion! `, autocompletionFile)) }