Skip to content

Commit 35dbcdf

Browse files
committed
Fix the asdf configuration
Before, we had not added `asdf` into `PATH`, which meant that macOS was looking for system Ruby and JavaScript. We fixed the configuration by adding the `asdf` shim directory to `PATH` as per [their guides][]. [their guides]: https://web.archive.org/web/20251220054329/https://asdf-vm.com/guide/getting-started.html#_2-configure-asdf
1 parent e1bb2c7 commit 35dbcdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zshrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ _load_settings "$HOME/.zsh/configs"
3636

3737
eval "$(/opt/homebrew/bin/brew shellenv)"
3838

39+
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
40+
3941
# Local config
4042
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
4143

0 commit comments

Comments
 (0)