Skip to content

Commit e9fe6b7

Browse files
authored
Merge pull request #155 from cloudskiff/doc/fix_bash_sudo_tee
bash completion doc fix
2 parents 6cc53fd + 91e890c commit e9fe6b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/cmd/completion/script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ By default, this command will print on the standard output the content of the co
1717
### Bash
1818
```shell
1919
# Linux:
20-
$ driftctl completion bash > /etc/bash_completion.d/driftctl
20+
$ driftctl completion bash | sudo tee /etc/bash_completion.d/driftctl
2121

2222
# MacOS:
2323
$ driftctl completion bash > /usr/local/etc/bash_completion.d/driftctl

0 commit comments

Comments
 (0)