Add completion doc in 1001-install.md

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
Tom Chauveau 2021-12-02 17:10:44 +01:00
parent 5ab3c47dac
commit 72e399e240
No known key found for this signature in database
GPG Key ID: 3C9847D981AAC1BF

View File

@ -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.