Closed MisterDA closed 5 months ago
I don't think this is new to 2.2, right - a long time ago, I think you agreed for opam init
to install a hook to do that?
Probably, yes. Let's say I'll close this, and next time I don't understand what's happening I'll find this issue again ;)
I'm using opam 2.2.0\~beta2\~dev (bd96d2ae56a17656e607a68ceb85e3d13594c14a) and zsh 5.9 on Fedora 40. opam has updated my
~/.zshrc
with its scripts. Each time I get a new prompt, opam puts itself at the beginning of thePATH
. This is a bit counter-intuitive and annoying: I sometimes install an OCaml compiler to a random location, without going through opam, just to test how it behaves when installed, and now I'm unable to override myPATH
.Maybe I could configure the zsh script to use
opam env --inplace-path
?