Skip to content

Commit b2749e7

Browse files
Cees de Grootaxelson
authored andcommitted
Support asdf-vm setup in wrapper scripts (#78)
1 parent a522df8 commit b2749e7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/elixir_ls_utils/priv/debugger.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env sh
22
# Launches the debugger. This script must be in the same directory as the compiled .ez archives.
33

4+
[ -f "$HOME/.asdf/asdf.sh" ] && . "$HOME/.asdf/asdf.sh"
5+
46
readlink_f () {
57
cd "$(dirname "$1")" > /dev/null
68
filename="$(basename "$1")"

apps/elixir_ls_utils/priv/language_server.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/usr/bin/env sh
22
# Launches the language server. This script must be in the same directory as the compiled .ez archives.
33

4+
[ -f "$HOME/.asdf/asdf.sh" ] && . "$HOME/.asdf/asdf.sh"
5+
46
readlink_f () {
57
cd "$(dirname "$1")" > /dev/null
68
filename="$(basename "$1")"

0 commit comments

Comments
 (0)