From 91e890c6c4cc4d903f2a4daa8e9207f61be2cab5 Mon Sep 17 00:00:00 2001 From: Stephane Jourdan Date: Wed, 27 Jan 2021 14:05:36 +0100 Subject: [PATCH] bash completion doc fix current doc can't work as is proposed fixed with sudo and tee --- doc/cmd/completion/script.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cmd/completion/script.md b/doc/cmd/completion/script.md index d418b11b..b11b4d20 100644 --- a/doc/cmd/completion/script.md +++ b/doc/cmd/completion/script.md @@ -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