2016-03-30 06:05:07 +00:00
|
|
|
# Find where asdf should be installed.
|
|
|
|
ASDF_DIR="${ASDF_DIR:-$HOME/.asdf}"
|
|
|
|
|
|
|
|
# Load asdf, if found.
|
|
|
|
if [ -f $ASDF_DIR/asdf.sh ]; then
|
|
|
|
. $ASDF_DIR/asdf.sh
|
|
|
|
fi
|
2018-04-22 18:27:12 +00:00
|
|
|
|
|
|
|
# Load asdf completions, if found.
|
|
|
|
if [ -f $ASDF_DIR/completions/asdf.bash ]; then
|
|
|
|
. $ASDF_DIR/completions/asdf.bash
|
|
|
|
fi
|