From f18d06259e33bd6b758e3a9b0d55964663a84cd9 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Tue, 24 Jan 2023 11:46:37 -0500 Subject: [PATCH] Fix asdf sourcing if installed via homebrew --- chezmoi/dot_zshrc.d/executable_asdf.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chezmoi/dot_zshrc.d/executable_asdf.zsh b/chezmoi/dot_zshrc.d/executable_asdf.zsh index 3293fce..ed597c1 100644 --- a/chezmoi/dot_zshrc.d/executable_asdf.zsh +++ b/chezmoi/dot_zshrc.d/executable_asdf.zsh @@ -2,8 +2,8 @@ if [ -r ~/.asdf/asdf.sh ]; then . ~/.asdf/asdf.sh fi -if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/asdf.sh" ]; then - . "$(brew --prefix)/opt/asdf/asdf.sh" +if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/libexec/asdf.sh" ]; then + . "$(brew --prefix)/opt/asdf/libexec/asdf.sh" fi if [ -n "$ASDF_DIR" ]; then