What happened
mise save user added environment variables to $__MISE_ORIG_PATH when do mise setup.
mise check environment variables every time it is called, and if there is environment variables it isn't contained in $__MISE_ORIG_PATH, it move variable to last of $PATH.
e.g. path:uncontained:others -> path:others:uncontained.
And I'm using tmux, my setting inherit environment variable from parent tmux server.
Even I update my rc setting, $__MISE_ORIG_PATH was fixed to old environment variable.
It doesn't overwrite.
What I had to do
So I had to relaunch tmux.
Top comments (0)