Open marioanticoli opened 6 months ago
what is your PATH? can you execute /usr/bin/env bash
?
outside of mise's dir PATH is
/home/mario/.local/bin:/home/mario/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin
while inside, with the workaround
/home/mario/.cache/rebar3/bin:/home/mario/.local/share/mise/installs/erlang/26.0.2/bin:/home/mario/.local/share/mise/installs/elixir/1.15.5-otp-26/bin:/home/mario/.local/share/mise/installs/elixir/1.15.5-otp-26/.mix/escripts:/home/mario/.local/share/mise/installs/node/18.17.1/bin:/home/mario/.local/share/mise/installs/ruby/3.1.0/bin:/home/mario/.local/bin:/home/mario/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin
When running /usr/bin/env bash
, it seems to open a subshell
PS I have starship enabled, but even when not loading it I have the same problem.
Describe the bug On cd-ing into a dir that requests Elixir it outputs the following error:
and the path is not updated with the Elixir's executables.
To Reproduce
.tool_versions
.mise.toml
Expected behavior I'd expect the execs to be available (mix, iex, elixir, elixirc) and no warnings
mise doctor
outputAdditional context
experimental
and theactivate_aggressive
flags on and off but it didn't help.mise install
from the dir containg.tool-versions
, I was able though to install the same versions manually outside of that directory.As a workaround I changed the shebang to
/bin/bash
, it solves the error with path (but not the one with install).