Replies: 1 comment
-
After reading docs and sources I realized that activation is breaking not only direnv, but also my local PATH order
but later mise activate removes "/Users/olfway/.local/share/mise/shims" and inserts paths for tools in front of my "~/bin" May be mise should insert paths for tools on the same position where path fo shims was?
In this case this will also work because of shims fallback:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using direnv to manage environment variables and paths in our projects and I'm trying to find how I can use mise without shims in parallel with it
The main problem is that we have a "terraform" wrapper script in utils/ folder of our repos, "PATH_add utils" in .envrc file and a .tools-version file with terraform version in it
If I enable "mise activation" in my shell, then mise changes PATH after direnv and "terraform" binary from mise became the first "terraform" in PATH
If I understand correctly, I need to change orders of hooks, ie mise should run and modify PATH first and after that direnv hook will run and insert "utils" directory in the beginning of the PATH
I'm using fish shell and didn't found yet how to change order
Beta Was this translation helpful? Give feedback.
All reactions