From a43e32014f62003a2ddf59585f26c5bc4d19f2b0 Mon Sep 17 00:00:00 2001 From: Tim Hobson Date: Fri, 22 Nov 2024 17:13:54 +0000 Subject: [PATCH 1/2] Update docs --- docs/ion.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ion.md b/docs/ion.md index 9d81eded..2d74eb69 100644 --- a/docs/ion.md +++ b/docs/ion.md @@ -59,17 +59,17 @@ In all cases, administrator privileges are required. ### Prerequisites +!!! info "Create the `SHELL_CONFIG` environment variable" + + Before continuing, make sure you have created the `SHELL_CONFIG` environment variable by following the instructions on the [Getting Started](getting-started.md#environment-variables) page. + Run the following commands to set up your environment. === "Linux" - Update the package lists on your machine: - ```console - $ sudo apt update - ``` - and install essential build tools: + Update the package lists on your machine and install essential build tools: ```console - $ sudo apt install build-essential + $ sudo apt update && sudo apt install build-essential ``` Install Git: ```console From 8f1596f4c3396ad7e571a2fe570e3549e371896a Mon Sep 17 00:00:00 2001 From: Tim Hobson Date: Sat, 23 Nov 2024 16:15:00 +0000 Subject: [PATCH 2/2] Update SHELL_CONFIG env variable creation in docs --- docs/getting-started.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 5413ccd4..401698bd 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -26,9 +26,9 @@ Environment variables are defined in your Terminal configuration file. Since we To do this, run the following command: ```console -$ echo "export SHELL_CONFIG=" $(find ~/.*shrc -maxdepth 0 | head -n 1) | sed 's/= /=/g' >> $(find ~/.*shrc -maxdepth 0 | head -n 1) +$ SHELL_CONFIG=$(find ~/.*shrc -maxdepth 0 | head -n 1) && echo "export SHELL_CONFIG=$SHELL_CONFIG" >> $SHELL_CONFIG ``` -**Then close and reopen the Terminal window that you're working in**, so that the change takes effect. Now check that the new environment variable exists: +Now check that the new environment variable exists: ```console $ echo $SHELL_CONFIG ```