use mise
and direnv
feedback
#2023
wizzardich
started this conversation in
General
Replies: 1 comment
-
@wizzardich Can you please elaborate on how you use At this moment I ended up adding this to my .envrc file to make it work in a portable way: type mise >/dev/null && {
if [ ! -f ~/.config/direnv/lib/use_mise.sh ]; then
echo "use_mise not found, create it first by running: mise direnv activate > ~/.config/direnv/lib/use_mise.sh"
exit 2
fi
use mise
} |
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
-
Hello!
I just noticed the note on
use mise
documentation page asking for feedback. I just wanted to pitch in: we do use it extensively and it seems to be working perfectly well.This allows us to have a workflow where we utilize the strong part of direnv (such as
source_if_exists
directives, etc), and usemise
to provision tooling when entering the repository directory. I personally find this workflow both very intuitive and providing us with a nice way to "scope" tooling to the project.Beta Was this translation helpful? Give feedback.
All reactions