Merge pull request #1172 from TomChv/doc/add-completion-helper
Add completion documentation in 1001-install.md
This commit is contained in:
commit
82e9374da5
@ -73,3 +73,20 @@ cd dagger; make
|
|||||||
```shell
|
```shell
|
||||||
cp ./cmd/dagger/dagger /usr/local/bin
|
cp ./cmd/dagger/dagger /usr/local/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Enable autocompletion manually
|
||||||
|
|
||||||
|
You can generate an auto completion script using `dagger completion <your shell>`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
Usage:
|
||||||
|
dagger completion [command]
|
||||||
|
|
||||||
|
Available Commands:
|
||||||
|
bash generate the autocompletion script for bash
|
||||||
|
fish generate the autocompletion script for fish
|
||||||
|
powershell generate the autocompletion script for powershell
|
||||||
|
zsh generate the autocompletion script for zsh
|
||||||
|
```
|
||||||
|
|
||||||
|
Depending on your shell, add the output script belong your other completions' script.
|
||||||
|
Reference in New Issue
Block a user