Create ~/Work with ./bin in the path for contained projects (#1654)

* Create ~/Work with ./bin in the path for contained projects

* Split out the mise work setup as its own configurator

* Fixup the migration to reuse config logic

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Ryan HughesandDavid Heinemeier Hansson authored and GitHub committed 2025-09-14 14:32:07 +02:00
1 parent d96322e58a
commit 52680f4b3e
4 files changed
+20 -1

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Add ./bin to path for all items in ~/Work
mkdir -p "$HOME/Work"
cat >"$HOME/Work/.mise.toml" <<'EOF'
[env]
_.path = "{{ cwd }}/bin"
EOF
mise trust ~/Work/.mise.toml