Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions apps/expert/lib/expert/port.ex
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,11 @@ defmodule Expert.Port do
# we use the wrong version if the user uses a version manager like asdf/mise,
# or we get an incomplete PATH not including erl or any other version manager
# managed programs.

env = [
# Disable shell session history to reduce noise
{"SHELL_SESSIONS_DISABLE", "1"},
# Start with a clean PATH to get the correct new value
{"PATH", nil}
# Start with minimal system PATH, otherwise tools like `mv` won't be avaliable.
{"PATH", "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"}
]

args =
Expand Down
Loading