Skip to content

Commit cd91d36

Browse files
authored
Merge pull request #1174 from burrowsca/master
Fix ElixirLS not loading correctly with Mise (rtx) and Fish
2 parents 0cdbb79 + a12f743 commit cd91d36

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/launch.fish

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ else
6262
set mise (which mise)
6363
if test -n "$mise"
6464
echo "mise executable found at $mise, activating" >&2
65-
source ( "$mise" env -s fish )
65+
"$mise" env -s fish | source
6666
export_stdlib_path "mise which elixir"
6767
else
6868
echo "mise not found" >&2
@@ -71,7 +71,7 @@ else
7171
set rtx (which rtx)
7272
if test -n "$rtx"
7373
echo "rtx executable found at $rtx, activating" >&2
74-
source ( "$rtx" env -s fish )
74+
"$rtx" env -s fish | source
7575
export_stdlib_path "rtx which elixir"
7676
else
7777
echo "rtx not found" >&2
@@ -80,7 +80,7 @@ else
8080
set vfox (which vfox)
8181
if test -n "$vfox"
8282
echo "vfox executable found at $vfox, activating" >&2
83-
source ( "$vfox" activate fish )
83+
"$vfox" activate fish | source
8484
else
8585
echo "vfox not found" >&2
8686
export_stdlib_path "which elixir"

0 commit comments

Comments
 (0)