docs: propose edits for tiny typographical/grammatical errors (#1747)

Co-authored-by: Andrew-Zipperer <atzipperer@gmail.com>
Co-authored-by: Trevor Brown <Stratus3D@users.noreply.github.com>
This commit is contained in:
Andrew Zipperer 2024-12-17 13:49:40 -06:00 committed by GitHub
parent ebdb229ce6
commit d462b55ec9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ export ASDF_DIR="/opt/asdf-vm"
`asdf` scripts need to be sourced **after** you have set your `$PATH` and **after** you have sourced your framework (oh-my-zsh etc).
::: warning
On macOS, starting a Bash or Zsh shell automatically calls a utility called `path_helper`. `path_helper` can rearrange items in `PATH` (and `MANPATH`), causing inconsistent behavior for tools that require specific ordering. To workaround this, `asdf` on macOS defaults to forcily adding its `PATH`-entries to the front (taking highest priority). This is controllable with the `ASDF_FORCE_PREPEND` variable.
On macOS, starting a Bash or Zsh shell automatically calls a utility called `path_helper`. `path_helper` can rearrange items in `PATH` (and `MANPATH`), causing inconsistent behavior for tools that require specific ordering. To workaround this, `asdf` on macOS defaults to forcibly adding its `PATH`-entries to the front (taking highest priority). This is controllable with the `ASDF_FORCE_PREPEND` variable.
:::
Restart your shell so that `PATH` changes take effect. Opening a new terminal tab will usually do it.

View File

@ -80,7 +80,7 @@ asdf local <name> latest[:<version>]
`global` writes the version to `$HOME/.tool-versions`.
`shell` set the version to an environment variable named `ASDF_${TOOL}_VERSION`, for the current shell session only.
`shell` sets the version to an environment variable named `ASDF_${TOOL}_VERSION`, for the current shell session only.
`local` writes the version to `$PWD/.tool-versions`, creating it if needed.