docs: show how to test

This commit is contained in:
decentral1se 2021-12-19 15:52:50 +01:00
parent 512cd9d85b
commit 467947edf2
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ Supported shells are as follows:
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 <hit tab key>" to test things are working, you should see app names listed!
`, autocompletionFile))
case "zsh":
fmt.Println(fmt.Sprintf(`
@ -87,6 +88,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 <hit tab key>" to test things are working, you should see app names listed!
`, autocompletionFile))
}