Skip to content
New issue

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

Local settings in config.toml #1426

Closed
jdx opened this issue Jan 9, 2024 · 3 comments · Fixed by #1541
Closed

Local settings in config.toml #1426

jdx opened this issue Jan 9, 2024 · 3 comments · Fixed by #1541
Labels
enhancement New feature or request

Comments

@jdx
Copy link
Owner

jdx commented Jan 9, 2024

It should be possible to have project-local settings, e.g.:

$ cd ~/src/myproj
$ mkdir -p .config/mise
$ cat <<EOF >.config/mise/settings.toml
experimental = true
EOF

Related to #1425

@jdx jdx added the enhancement New feature or request label Jan 9, 2024
jdx added a commit that referenced this issue Jan 27, 2024
jdx added a commit that referenced this issue Jan 27, 2024
@jdx jdx closed this as completed in #1541 Jan 27, 2024
jdx added a commit that referenced this issue Jan 27, 2024
@rouge8
Copy link

rouge8 commented Jan 29, 2024

This doesn't appear to be working?

❯ mise --version
2024.1.30 macos-arm64 (2024-01-27)
❯ cat .config/mise/settings.toml 
experimental = true
legacy_version_file = true
❯ mise settings get experimental 
false

@jdx jdx reopened this Jan 29, 2024
@jdx jdx closed this as completed Jan 29, 2024
@jdx
Copy link
Owner Author

jdx commented Jan 29, 2024

use .config/mise/config.toml. This issue was written wrong—I'm moving away from using settings.toml in favor of having a single config file

@jdx jdx changed the title Local settings.toml Local settings in config.toml Jan 29, 2024
@rouge8
Copy link

rouge8 commented Jan 29, 2024

Ah yes, that fixes it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants