docs: show how to test
This commit is contained in:
parent
512cd9d85b
commit
467947edf2
|
@ -80,6 +80,7 @@ Supported shells are as follows:
|
||||||
sudo mkdir /etc/bash/completion.d/
|
sudo mkdir /etc/bash/completion.d/
|
||||||
sudo cp %s /etc/bash_completion.d/abra
|
sudo cp %s /etc/bash_completion.d/abra
|
||||||
echo "source /etc/bash/completion.d/abra" >> ~/.bashrc
|
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))
|
`, autocompletionFile))
|
||||||
case "zsh":
|
case "zsh":
|
||||||
fmt.Println(fmt.Sprintf(`
|
fmt.Println(fmt.Sprintf(`
|
||||||
|
@ -87,6 +88,7 @@ echo "source /etc/bash/completion.d/abra" >> ~/.bashrc
|
||||||
sudo mkdir /etc/zsh/completion.d/
|
sudo mkdir /etc/zsh/completion.d/
|
||||||
sudo cp %s /etc/zsh/completion.d/abra
|
sudo cp %s /etc/zsh/completion.d/abra
|
||||||
echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra" >> ~/.zshrc
|
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))
|
`, autocompletionFile))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue