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 Hughes
2025-09-14 08:32:07 -04:00
committed by GitHub
parent d96322e58a
commit 52680f4b3e
4 changed files with 20 additions and 1 deletions

9
migrations/1757783204.sh Normal file
View File

@@ -0,0 +1,9 @@
echo "Create ~/Work with ./bin in the path for contained projects"
mise_config="$HOME/Work/.mise.toml"
if [[ -f $mise_config ]]; then
cp $mise_config "$mise_config.bak.$(date +%s)"
fi
source "$OMARCHY_PATH/install/config/mise-work.sh"