Incorrect config_root for project/.mise/config.toml #4039
Unanswered
Ernest0-Production
asked this question in
Troubleshooting and bug reports
Replies: 2 comments 3 replies
-
❯ echo $PWD
/tmp/mise-4041
❯ bat --terminal-width=40 .config/mise.toml
───────┬────────────────────────────────
│ File: .config/mise.toml
───────┼────────────────────────────────
1 │ [tasks.cwd]
2 │ run = "echo $PWD"
───────┴────────────────────────────────
❯ mise run cwd
[cwd] $ echo $PWD
/private/tmp/mise-4041/.config |
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm having the same problem, but with a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on the documentation https://mise.jdx.dev/templates.html#variables
I would expect that in the case of
~/src/myproj/.mise/config.toml
, the value from template variable{{ config_root }}
would return me~/src/myproj
, but it returns~/src/myproj/.mise/
mise version:
2024.10.13 macos-arm64 (ee83488 2024-10-28
Beta Was this translation helpful? Give feedback.
All reactions