asdf.plugin.zsh 285 Bytes
Newer Older
Rob Loach's avatar
Rob Loach committed
1
2
3
4
5
6
7
# 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
8
9
10
11
12

# Load asdf completions, if found.
if [ -f $ASDF_DIR/completions/asdf.bash ]; then
    . $ASDF_DIR/completions/asdf.bash
fi