From a8b208aff77fddd4e02589ed00323a0921a7d77c Mon Sep 17 00:00:00 2001 From: Carles Cufi Date: Mon, 12 Aug 2019 13:24:11 +0200 Subject: [PATCH] doc: west: Fix west completion docs west completion is an extension command, and therefore requires the user to be in a zephyr installation in order to be available. Signed-off-by: Carles Cufi --- doc/guides/west/install.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/west/install.rst b/doc/guides/west/install.rst index 523fb85260c..d116e3bdcc1 100644 --- a/doc/guides/west/install.rst +++ b/doc/guides/west/install.rst @@ -41,8 +41,8 @@ completion script and have it sourced every time you enter a new shell session. To obtain the completion script you can use the ``west completion`` command:: - cd ~ - west completion bash > west-completion.bash + cd /path/to/zephyr/ + west completion bash > ~/west-completion.bash .. note::