bash completion doc fix

current doc can't work as is
proposed fixed with sudo and tee
main
Stephane Jourdan 2021-01-27 14:05:36 +01:00 committed by GitHub
parent 6cc53fd990
commit 91e890c6c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ By default, this command will print on the standard output the content of the co
### Bash
```shell
# Linux:
$ driftctl completion bash > /etc/bash_completion.d/driftctl
$ driftctl completion bash | sudo tee /etc/bash_completion.d/driftctl
# MacOS:
$ driftctl completion bash > /usr/local/etc/bash_completion.d/driftctl