tb-dotfiles/chezmoi/dot_zshrc.d/executable_asdf.zsh

13 lines
321 B
Bash
Raw Normal View History

2022-04-22 10:06:53 -04:00
if [ -r ~/.asdf/asdf.sh ]; then
2024-02-12 16:10:35 -05:00
ASDF_FORCE_PREPEND=1 . ~/.asdf/asdf.sh
fi
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
2022-04-22 10:06:53 -04:00
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
fi