Is there a way to use .mise.toml in the same way as this .envrc? #1525
Answered
by
jdx
aclarknexient
asked this question in
Q&A
-
I have an CURRENT_GIT_BRANCH=$(git branch --show-current)
case "${CURRENT_GIT_BRANCH}" in
"dev" ) export ARBITRARY_VAR="foo" ;;
"qa" ) export ARBITRARY_VAR="bar" ;;
"main" ) export ARBITRARY_VAR="fizzbuzz" ;;
* ) echo "Unknown branch, exiting" ; exit 1 ;;
esac Is there a way to do the same thing but using Thank you, jdx, for creating mise (rtx), it's fantastic! |
Beta Was this translation helpful? Give feedback.
Answered by
jdx
Jan 25, 2024
Replies: 1 comment 1 reply
-
yes you can use templates |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aclarknexient
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes you can use templates