Skip to content

Commit

Permalink
Update SHELL_CONFIG env variable creation in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thobson88 committed Nov 23, 2024
1 parent a43e320 commit 8f1596f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 8f1596f

Please sign in to comment.