mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
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:
9
install/config/mise-work.sh
Normal file
9
install/config/mise-work.sh
Normal 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
|
||||
Reference in New Issue
Block a user