2022-04-22 10:06:53 -04:00
|
|
|
if [ -r ~/.asdf/asdf.sh ]; then
|
|
|
|
. ~/.asdf/asdf.sh
|
2022-08-22 21:16:31 -04:00
|
|
|
fi
|
|
|
|
|
2023-01-24 11:46:37 -05:00
|
|
|
if command -v brew &> /dev/null && [ -r "$(brew --prefix)/opt/asdf/libexec/asdf.sh" ]; then
|
|
|
|
. "$(brew --prefix)/opt/asdf/libexec/asdf.sh"
|
2022-08-22 21:16:31 -04:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -n "$ASDF_DIR" ]; then
|
2022-04-22 10:06:53 -04:00
|
|
|
# append completions to fpath
|
|
|
|
fpath=(${ASDF_DIR}/completions $fpath)
|
|
|
|
fi
|