tb-dotfiles/chezmoi/dot_zshrc.d/executable_asdf.zsh
2022-08-22 21:16:31 -04:00

12 lines
284 B
Bash

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"
fi
if [ -n "$ASDF_DIR" ]; then
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
fi