From e9807e07f58a7e31d46918992e96d4e11bcb9611 Mon Sep 17 00:00:00 2001 From: Matt Montag Date: Mon, 24 Jan 2022 01:45:21 -0800 Subject: [PATCH] Update installation.rst Use $HOME instead of ~ (tilde) for home directory in PATH environment variable. This can manifest in behavior such as https://community.platformio.org/t/pio-home-cant-find-platformio/25617. See more at https://stackoverflow.com/a/11587382/264970. --- core/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/installation.rst b/core/installation.rst index 4e31cc1c1f..2d8d973c55 100644 --- a/core/installation.rst +++ b/core/installation.rst @@ -234,7 +234,7 @@ If you use Bash as your default shell, you can do it by editing either .. code-block:: shell -   export PATH=$PATH:~/.platformio/penv/bin +   export PATH=$PATH:$HOME/.platformio/penv/bin If you use Zsh, you can either edit ``~/.zprofile`` and add the code above, or for supporting both, Bash and Zsh, you can first edit ``~/.profile`` and add