From 7efe6cb612bfba54fd7787896569ecb8f79fed34 Mon Sep 17 00:00:00 2001 From: Carlos Domingues <11181378+CarlosDomingues@users.noreply.github.com> Date: Mon, 29 Nov 2021 22:11:31 -0300 Subject: [PATCH] Remove unecessary "echo" Co-authored-by: Tim Bannister --- .../tasks/tools/included/optional-kubectl-configs-bash-linux.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md b/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md index f3ae91fe65..5838c5c343 100644 --- a/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md +++ b/content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md @@ -37,7 +37,7 @@ You now need to ensure that the kubectl completion script gets sourced in all yo - Add the completion script to the `/etc/bash_completion.d` directory: ```bash - echo -e "$(kubectl completion bash)" | sudo tee /etc/bash_completion.d/kubectl > /dev/null + kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null ``` If you have an alias for kubectl, you can extend shell completion to work with that alias: