Open way-zer opened 3 days ago
Thanks for the issue. We'd be open to a --no-activation option. Just haven't gotten around implementing it yet
@Hofer-Julian didn't we discuss to keep the path dynamic? We could easily react to PATH changes without changing the rest of the logic
@Hofer-Julian didn't we discuss to keep the path dynamic? We could easily react to PATH changes without changing the rest of the logic
Yes, that is indeed the more elegant solution for this specific problem
The current implement seems break many things, like pixi global make
. When use make
, it even can't found binary in current PATH.
It's confusing to get this.
We could easily react to PATH changes without changing the rest of the logic
dynamic PATH may be the best answer, considering the confusing problem without using --no-activation
So, this issue may be bug, instead of enhancement. (The PATH
should be dynamic)
Checks
[x] I have checked that this issue has not already been reported.
[x] I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
May like #133.
pixi global
will overwrite PATH and CONDA_PREFIX(no affect this example), so the actual execuable will get wrong PATH variable.Maybe provide a way to expose binary without activation, and maybe use symbol link.
Expected behavior
not overwrite or just append necessary paths to PATH variable.