File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
# First order of business, see whether we can setup asdf
10
10
11
11
echo " Looking for asdf install" >&2
12
- set ASDF_DIR ( or $ASDF_DIR ( set -q HOME; echo $HOME ) /.asdf)
12
+ test -n " $ASDF_DIR " ; or set ASDF_DIR " $HOME /.asdf"
13
13
14
14
# Check if we have the asdf binary for version >= 0.16.0
15
15
set asdf (which asdf)
16
16
if test -n " $asdf "
17
- echo " asdf executable found at $asdf . Setting ASDF_DIR=${ ASDF_DIR} and adding ${ ASDF_DATA_DIR} /shims to PATH." >&2
17
+ echo " asdf executable found at $asdf . Setting ASDF_DIR=$ASDF_DIR and adding $ASDF_DATA_DIR /shims to PATH." >&2
18
18
# If the binary is found, set up environment for newer asdf versions
19
19
set -gx ASDF_DATA_DIR " $ASDF_DIR "
20
20
set -gx PATH " $ASDF_DATA_DIR /shims" $PATH
You can’t perform that action at this time.
0 commit comments