We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5737e71 + b4b165d commit ef4631cCopy full SHA for ef4631c
scripts/launch.fish
@@ -9,12 +9,12 @@
9
# First order of business, see whether we can setup asdf
10
11
echo "Looking for asdf install" >&2
12
-set ASDF_DIR (or $ASDF_DIR (set -q HOME; echo $HOME)/.asdf)
+test -n "$ASDF_DIR"; or set ASDF_DIR "$HOME/.asdf"
13
14
# Check if we have the asdf binary for version >= 0.16.0
15
set asdf (which asdf)
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
+ echo "asdf executable found at $asdf. Setting ASDF_DIR=$ASDF_DIR and adding $ASDF_DATA_DIR/shims to PATH." >&2
18
# If the binary is found, set up environment for newer asdf versions
19
set -gx ASDF_DATA_DIR "$ASDF_DIR"
20
set -gx PATH "$ASDF_DATA_DIR/shims" $PATH
0 commit comments