Skip to content

Commit ef4631c

Browse files
authored
Merge pull request #1165 from gilbertwong96/fix-fish-syntax
Fix wrong fish syntax
2 parents 5737e71 + b4b165d commit ef4631c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/launch.fish

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
# First order of business, see whether we can setup asdf
1010

1111
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"
1313

1414
# Check if we have the asdf binary for version >= 0.16.0
1515
set asdf (which asdf)
1616
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
1818
# If the binary is found, set up environment for newer asdf versions
1919
set -gx ASDF_DATA_DIR "$ASDF_DIR"
2020
set -gx PATH "$ASDF_DATA_DIR/shims" $PATH

0 commit comments

Comments
 (0)