We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long-time asdf+direnv user trying to migrate to mise. I have many projects with a .envrc file. Direnv automatically runs this file when present.
.envrc
Describe the bug Mise does not automatically run .envrc.
To Reproduce Create [project]/.envrc, ensure that mise is active, then cd into [project].
[project]/.envrc
[project]
Expected behavior Mise should source .envrc.
I tried _.source in ~/.config/mise/config.toml, but this throws an error when .envrc is absent.
_.source
~/.config/mise/config.toml
I also tried _.file, but this does not work for executable scripts.
_.file
This will work with a project-level Mise config, but it would be better if everything Just Worked as a drop-in replacement.
The text was updated successfully, but these errors were encountered:
I don't understand how this is a bug
Sorry, something went wrong.
fix: skip _.source files if not present
e870a39
Fixes #3053
fix: skip _.source files if not present (#3236)
b3cb34f
Successfully merging a pull request may close this issue.
Long-time asdf+direnv user trying to migrate to mise. I have many projects with a
.envrc
file. Direnv automatically runs this file when present.Describe the bug
Mise does not automatically run
.envrc
.To Reproduce
Create
[project]/.envrc
, ensure that mise is active, then cd into[project]
.Expected behavior
Mise should source
.envrc
.I tried
_.source
in~/.config/mise/config.toml
, but this throws an error when.envrc
is absent.I also tried
_.file
, but this does not work for executable scripts.This will work with a project-level Mise config, but it would be better if everything Just Worked as a drop-in replacement.
The text was updated successfully, but these errors were encountered: